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

LogManager.demandSystemLogger should accept a 'caller' argument.

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: