Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8029876

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        The test from JDK-8025512 should be forwarded ported to JDK 9 and JDK 8u.
        It would also be good to refactor it so that it stubs JavaAWTAccess and no longer calls SunToolkit.createNewAppContext().

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: