RFR - 8029876: Add a test to verify that Logger.getLogger & LogManager.getLogManager don't throw NPE when System.out == null

Daniel Fuchs daniel.fuchs at oracle.com
Thu Feb 6 15:29:32 UTC 2014


Hi,

Please find below a patch that adds a new test for logging
in JDK 9.

The test verifies an issue we had on JDK 7 (the test is already
in 7) but since the issue was not present in 8 & 9 the fix
(and test) went to 7 only.

This bug is about adding the same test that was added to 7 to
9 (and then 8u).

https://bugs.openjdk.java.net/browse/JDK-8029876
8029876: Add a test to verify that Logger.getLogger
          & LogManager.getLogManager don't throw NPE
          when System.out == null

original fix + tests pushed in 7:
http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3ba8d15adade

webrev (trivial copy of the test to jdk9-dev):
http://cr.openjdk.java.net/~dfuchs/webrev_8029876/webrev.00/

best regards,

-- daniel



More information about the core-libs-dev mailing list