java.util.logging might force the initialization of ResourceBundle class too early.

XMLWordPrintable

      A recent fix change the code of java.util.logging to use SharedSecrets.getJavaUtilResourceBundleAccess() to load resource bundle.
      However, calling SharedSecrets.getJavaUtilResourceBundleAccess() forces the initialization of the ResourceBundle class.

      Because SharedSecrets.getJavaUtilResourceBundleAccess() is called during the static initialization of Level and Logger, it can happen too early.

      A possible work around for this issue would be to delay this call until it's really needed.

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

              Created:
              Updated:
              Resolved: