Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      While working on JBAS-8542 I noticed that String may be a poor representation of a ServiceName.

      Consider

      ServiceName.JBOSS.append("osgi", "framework");

      which is a pattern that we find everywhere in the AS codebase.

      ServiceName.parse("jboss.osgi.framework") would construct a ServiceName that is equivalent to
      ServiceName.JBOSS.append("osgi").append("framework"), which is not equal what I used above.

      Hence

      ServiceContainer.getService(ServiceName.parse("jboss.osgi.framework"))

      fails if the framework service was not constructed with ServiceName.JBOSS.append("osgi").append("framework")

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  thomas.diesler Thomas Diesler
                  Reporter:
                  thomas.diesler Thomas Diesler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: