Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5003

recursive call in org.jboss.as.server.services.path.RelativePathService.addService(...)

XMLWordPrintable

    • Workaround Exists
    • Hide

      use org.jboss.as.controller.services.path.RelativePathService instead

      Show
      use org.jboss.as.controller.services.path.RelativePathService instead

      org.jboss.as.server.services.path.RelativePathService

      067 public static ServiceController<String> addService(final ServiceName name, final String path,
      068 boolean possiblyAbsolute, final String relativeTo, final ServiceTarget serviceTarget, final List<ServiceController<?>> newControllers,
      069 final ServiceListener... listeners) {
      070 return RelativePathService.addService(name, path, possiblyAbsolute, relativeTo, serviceTarget, newControllers);

      Line 70 will call the method in a recursive loop.

      We know the class is deprecated and a replacement is available which does not have this bug. Yet, for backwards compatibility it might be good to fix this anyhow.

              jperkins-rhn James Perkins
              tfonteyn Tom Fonteyne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: