RFR: 8042147: test sun/util/logging/SourceClassName.java failed: Unexpected source: java.util.Currency info

Daniel Fuchs daniel.fuchs at oracle.com
Thu Oct 9 13:09:03 UTC 2014


Hi,

Please find below a fix for:

8042147: test sun/util/logging/SourceClassName.java failed:
               Unexpected source: java.util.Currency info

https://bugs.openjdk.java.net/browse/JDK-8042147

webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8042147/webrev.00/


It seems that something on some test systems can prompt
java.util.Currency to log an INFO message (either at startup or
triggered by the loading of some classes).
The code of this test checks all the log messages that are printed and 
fails because it finds the unexpected message.

The fix changes the test code to allow for the possibility that 
something else than the test code itself might be using
java.util.logging.

best regards,

-- daniel



More information about the core-libs-dev mailing list