[9] RFR(S): 8142464: PlatformLoggerTest.java throws java.lang.RuntimeException: Logger test.logger.bar does not exist

Nils Eliasson nils.eliasson at oracle.com
Thu Apr 28 12:01:19 UTC 2016


Please review the fix of 
jdk/test/sun/util/logging/PlatformLoggerTest.java that has been failing 
intermittently in our nightlies.

The test uses loggers that are accessible by weak refs from a 
LogManager. Since the test doesn't keep a strong ref to the loggers they 
may get collected during the test.

Save loggers to a static field  in the test class.

Also removing "@compile -XDignore.symbol.file" that is unnecessary after 
Jigsaw. The compile tag will force a compile even if the class already 
exists, wasting times during reruns.

Running tests on all platforms.

Bug: https://bugs.openjdk.java.net/browse/JDK-8142464
webrev: http://cr.openjdk.java.net/~neliasso/8142464/webrev_jdk.01/ (JDK)

Nils Eliasson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160428/94ba2fc2/attachment.html>

More information about the hotspot-compiler-dev mailing list