[jboss-jira] [JBoss JIRA] (WFCORE-4327) Switched order of method arguments - ModuleSpecProcessor

Rostislav Svoboda (Jira) issues at jboss.org
Wed Feb 13 07:12:00 EST 2019


Rostislav Svoboda created WFCORE-4327:
-----------------------------------------

             Summary: Switched order of method arguments - ModuleSpecProcessor
                 Key: WFCORE-4327
                 URL: https://issues.jboss.org/browse/WFCORE-4327
             Project: WildFly Core
          Issue Type: Bug
          Components: Server
            Reporter: Rostislav Svoboda
            Assignee: Yeray Borges


Switched order of method arguments - ModuleSpecProcessor line 287
Introduced in https://github.com/wildfly/wildfly-core/pull/3661

method call
{code}
return ModuleLoadService.install(phaseContext.getServiceTarget(), moduleIdentifier,
   dependencies, localDependencies, userDependencies);
{code}

ModuleLoadService.install signature:
{code}
public static ServiceName install(final ServiceTarget target, final ModuleIdentifier identifier,
  final List<ModuleDependency> systemDependencies,
  final List<ModuleDependency> userDependencies,
  final List<ModuleDependency> localDependencies) {   
{code}

https://github.com/wildfly/wildfly-core/blob/master/server/src/main/java/org/jboss/as/server/deployment/module/ModuleSpecProcessor.java#L287
So localDependencies and userDependencies should be switched.




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list