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

Lance Andersen lance.andersen at oracle.com
Thu Oct 9 13:39:10 UTC 2014


Looks OK Daniel

Best
Lance
On Oct 9, 2014, at 9:09 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:

> 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



Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com






More information about the core-libs-dev mailing list