You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2022/03/01 09:46:00 UTC

[jira] [Commented] (LUCENE-10447) Charset issue in TestScripts#testLukeCanBeLaunched()

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

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

Can you check what charset is used by default by your JVMs? We do try to detect the default charset so something must be wrong there.

> 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: Major
>         Attachments: 1.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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org