RFR: 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character [v2]

Naoto Sato naoto at openjdk.java.net
Mon May 2 21:15:28 UTC 2022


On Sun, 1 May 2022 04:47:09 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

>> test/jdk/java/lang/System/i18nEnvArg.java line 26:
>> 
>>> 24: /*
>>> 25:  * @test
>>> 26:  * @bug 8285517
>> 
>> If the test should work only on a particular env, should describe here and add `@requires`  tag.
>
> Add "@requires (os.family == "linux")"

Also `@modules jdk.charsets` should be added so that the test should be immediately ignored if it does not have `EUC-JP` charset.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8378


More information about the core-libs-dev mailing list