Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-696

check for unproxyable API types should get moved to the validateBeans phase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5
    • 1.1.6
    • Core
    • None

    Description

      If you have an abstract class without a default constructor, like:

      public abstract class X {
      protected X(String someId)

      { ... }

      }

      then we currently throw an Exception in WebBeansUtil#checkUnproxiableApiType.
      But according to 5.4.1. "Unproxyable bean types" this only applies to NormalScoped beans!

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: