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

Wrong module identifier used in ModuleLoader::createAggregate

XMLWordPrintable

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

      public Module createAggregate(ModuleIdentifier moduleIdentifier, List<ModuleIdentifier> dependencies) throws ModuleLoadException {
      final ModuleSpec.Builder moduleSpecBuilder = ModuleSpec.build(moduleIdentifier);
      for(ModuleIdentifier identifier : dependencies)

      { moduleSpecBuilder.addDependency(moduleIdentifier).setExport(true); }

      return defineModule(moduleSpecBuilder.create());
      }

      "identifier" var is never used.

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

                Created:
                Updated:
                Resolved: