[12] RFR of JDK-8209832: Refactor jdk/internal/reflect/Reflection/GetCallerClassTest.sh to plain java test

Amy Lu amy.lu at oracle.com
Tue Sep 4 09:26:12 UTC 2018

On 2018/9/4 3:14 PM, Alan Bateman wrote:
> 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

Thank you Alan!

I updated SetupGetCallerClass:


More information about the core-libs-dev mailing list