JDK 10 RFR of JDK-8181395: Refactor several java/nio locale related shell tests to java

Alan Bateman Alan.Bateman at oracle.com
Wed Jun 7 14:21:13 UTC 2017

On 07/06/2017 07:14, Amy Lu wrote:
> java/nio/charset/Charset/default.sh
> java/nio/charset/coders/CheckSJISMappingProp.sh
> java/nio/file/Path/MacPathTest.java which runs shell test:
>      * @run shell MacPathTest.sh
> Please review this patch to refactor these shell tests to java.
> Note that in MacPathTest.sh, it requires the test to be run with 
> LC_ALL=en_US.UTF-8 env. But unlike the other two tests, LC_ALL 
> settings here is just to setup an env in order for the test to work 
> correctly, it’s not the locale it intends to test.
One thing that isn't clear to me is the value of UNSUPPORTED as I assume 
it will contain the value "nonexist" and so don't match when testing 
other locales that aren't installed.


More information about the core-libs-dev mailing list