Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7074

Do not use the ModuleIdentifier.create() method where a module string with a slot can be passed in

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 27.0.0.Beta4
    • None
    • Modules, Server
    • None

      There are a few places where the ModuleIdentifier.create(String) method is used for module names which could potentially have a slot. This method does not parse the string for slots and simply uses the parameter as the name for the module. A module defined as org.wildfly.core.example:main would end up with a module name of org.wildfly.core.example\:main due to the : being escaped. The ModuleIndentifier.fromString(String) should be used in these cases.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: