[ 
https://issues.apache.org/jira/browse/LUCENE-10447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499431#comment-17499431
 ] 

Dawid Weiss commented on LUCENE-10447:
--------------------------------------

There is also a subtle problem here that the forked script uses the platform's 
default JVM, not whatever was specified for running the tests. I'll handle the 
fix later. In the meantime the workaround is to change the locale to english 
(or whatever else that doesn't emit non-ascii characters).

> 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

Reply via email to