[ https://issues.apache.org/jira/browse/LUCENE-10447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499480#comment-17499480 ]
Dawid Weiss commented on LUCENE-10447: -------------------------------------- This is a quick PR that should pass - it uses the same JVM as the tests are using but forces UTF-8 for the forked command (this way we don't need to probe for the default encoding). https://github.com/apache/lucene/pull/717 > Charset issue in TestScripts#testLukeCanBeLaunched() > ---------------------------------------------------- > > Key: LUCENE-10447 > URL: https://issues.apache.org/jira/browse/LUCENE-10447 > Project: Lucene - Core > Issue Type: Bug > Components: luke > Reporter: Lu Xugang > Assignee: Dawid Weiss > Priority: Minor > Attachments: 1.png, 2.png, process-10536545874299101128.out > > > When run TestScripts#testLukeCanBeLaunched(), a temp file will be created in > the path of lucene/distribution.tests/build/tmp/tests-tmp/process-*.out, this > process-*.out file may contains some non StandardCharsets.US_ASCII content > base on Operating System language, and then a Exception will be throw because > later the test will read this temp file with StandardCharsets.US_ASCII. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org