Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-240

ServiceBuilder impls do not support the full API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.4.4.Final
    • None
    • runtime
    • None

      The new ServiceBuilder API is not compatible with the old, as each of the 2 impls throws UnsupportedOperationException for either the legacy or the new methods. And I don't believe there is a way for code to decide which set of methods is safe to use.

      This makes passing a ServiceBuilder to shared utility type code dangerous, e.g as seen in JBEAP-15382.

              ropalka Richard Opalka
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: