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

Switched order of method arguments - ModuleLoadService

    Details

      Description

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

      method call

      return ModuleLoadService.install(phaseContext.getServiceTarget(), moduleIdentifier,
         dependencies, localDependencies, userDependencies);
      

      ModuleLoadService.install signature:

      public static ServiceName install(final ServiceTarget target, final ModuleIdentifier identifier,
        final List<ModuleDependency> systemDependencies,
        final List<ModuleDependency> userDependencies,
        final List<ModuleDependency> localDependencies) {   
      

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                yersan Yeray Borges
                Reporter:
                rsvoboda Rostislav Svoboda
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: