JDK 10 RFR of JDK-8183377: Refactor java/lang/ClassLoader/deadlock shell tests to java

Mandy Chung mandy.chung at oracle.com
Fri Jul 14 08:23:08 UTC 2017


> On Jul 13, 2017, at 5:14 PM, Amy Lu <amy.lu at oracle.com> wrote:
> 
> java/lang/ClassLoader/deadlock/TestCrossDelegate.sh
> java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh
> 
> Please review this patch to refactor the shell tests to java.
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8183377
> http://cr.openjdk.java.net/~amlu/8183377/webrev.00/

I suggest to use the scratch directory instead of user.dir so that the files will be cleaned up.

An alternative to SetupLoader class would be use the testlibray CompileUtils to compile the classes in the specified destination. 

Mandy


More information about the core-libs-dev mailing list