Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-222

org.jboss.modules.Metrics causes too-early init of JUL in some JDKs

    XMLWordPrintable

Details

    • Low

    Description

      The org.jboss.modules.Metrics class uselessly references the platform thread MXBean, causing that class to be initialized before classes are loaded (but not actually using it). On some JVMs this causes JUL to be initialized prematurely, which in turn prevents application start (including WildFly).

      The best fix is to remove this unused reference completely.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: