RFR - 8029876: Add a test to verify that Logger.getLogger & LogManager.getLogManager don't throw NPE when System.out == null
daniel.fuchs at oracle.com
Thu Feb 6 17:04:04 UTC 2014
On 2/6/14 4:49 PM, Mandy Chung wrote:
> Hi Daniel,
> On 2/6/2014 7:29 AM, Daniel Fuchs wrote:
>> 8029876: Add a test to verify that Logger.getLogger
>> & LogManager.getLogManager don't throw NPE
>> when System.out == null
>> webrev (trivial copy of the test to jdk9-dev):
> Do you think this test can use the JavaAWTAccessStub as in other tests
> so that it doesn't depend on SunToolkit? TestMainAppContext.java also
> depends on SunTookit.
Ah right! I remember we already spoke about that for the original test.
Here is a new version that doesn't depend on AWT.
> It may be that the bug can only be duplicated in this way; if so, please
> add the new test in needstest/TEST.group. It would make it simpler to
> move the tests with AWT dependency to a separate directory.
More information about the core-libs-dev