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

Class init order causes JDK modules to not be found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.8.2.Final, 1.9.0.Final
    • None
    • None
    • None

    Description

      On Java 8 (only), the JDKModuleFinder instance init requires a static field which is not initialized until after a JDKModuleFinder is constructed.

      This causes launching with -jar to fail with org.jboss.modules.ModuleNotFoundException: java.base in many cases.

      Attachments

        Issue Links

          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: