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

LogManager.demandSystemLogger should accept a 'caller' argument.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs

    Backports

      Description

        LogManager.demandLogger accepts a caller argument which is later used to resolve ResourceBundle. However LogManager.demandSystemLogger doesn't have that caller argument - which could later lead to some inconsistency when resource bundles are resolved.

        This is more an inconsistency than an issue since by definition the caller that creates a system logger is a system class in the bootstrap class loader.
        However it could become an issue in a modular JDK - where different system classes may come from different modules and where information on the actual system caller class may be needed.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: