[12] RFR of JDK-8209832: Refactor jdk/internal/reflect/Reflection/GetCallerClassTest.sh to plain java test
Alan Bateman
Alan.Bateman at oracle.com
Tue Sep 4 07:14:18 UTC 2018
On 04/09/2018 06:41, Amy Lu wrote:
> test/jdk/jdk/internal/reflect/Reflection/GetCallerClassTest.sh
>
> Please review this patch to refactor above shell script test to java.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8209832
> webrev: http://cr.openjdk.java.net/~amlu/8209832/webrev.00/
This looks okay. If you want, you can reduce the code in
SetupGetCallerClass by replacing the initialization of dest with
Path.of("bcp", "boot") as userDir is not needed. Also the nonExists
check isn't needed either.
-Alan
More information about the core-libs-dev
mailing list