Please review the patch to fix a fake passed test: jdk/internal/ref/Cleaner/ExitOnThrow.java
It expects the target test program exists with '1', and throws an exception. Due to the target test program be wrongly forked (missed --add-exports ), it exists with '1' but with unexpected java.lang.IllegalAccessError.
bug: https://bugs.openjdk.java.net/browse/JDK-8178335 webrev: http://cr.openjdk.java.net/~amlu/8178335/webrev.00 Thanks, Amy