Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.3
    • Component/s: Core, Injection and Lookup
    • Labels:
      None

      Description

      extensions might contain optional beans which aren't used if a dependency isn't used by an application.
      ->
      AbstractMetaDataDiscovery#getBeanClasses should catch and log NoClassDefFoundError
      AnnotatedElementFactory#newAnnotatedType should catch and log TypeNotPresentException

        Issue Links

          Activity

          Hide
          Mark Struberg added a comment -

          moved to target 1.2.0

          Show
          Mark Struberg added a comment - moved to target 1.2.0
          Hide
          Mark Struberg added a comment -

          moved to target 1.2.0 again, because this can only get implemented when we get the new @Requires annotation from CDI-1.1:

          > Any class or package may be prevented from providing bean definitions based on the availability
          > of other classes by adding the @Requires annotation on the class or package.

          In any other case we must throw a DefinitionException.

          Show
          Mark Struberg added a comment - moved to target 1.2.0 again, because this can only get implemented when we get the new @Requires annotation from CDI-1.1: > Any class or package may be prevented from providing bean definitions based on the availability > of other classes by adding the @Requires annotation on the class or package. In any other case we must throw a DefinitionException.
          Hide
          Mark Struberg added a comment -

          fixed by workaround solution contributed by Christian Kaltepoth in OWB-629

          Show
          Mark Struberg added a comment - fixed by workaround solution contributed by Christian Kaltepoth in OWB-629

            People

            • Assignee:
              Mark Struberg
              Reporter:
              Gerhard Petracek
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development