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

NPE when SystemModule is a dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta2
    • None
    • None
    • None

      The code currently reads

      log.trace("Attempting to getImportedClass [%s] from [%s] ...", className, dependency);

      try {
      Class<?> importedClass = dependency.getClassLoader().loadClassLocal(className, false, exportsOnly);

      loadClassLocal accesses the content classLoader which in case of the SystemModule is null.

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

                Created:
                Updated:
                Resolved: