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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.6
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: