You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/08/23 20:26:41 UTC

[jira] [Created] (OWB-696) check for unproxyable API types should get moved to the validateBeans phase

Mark Struberg created OWB-696:
---------------------------------

             Summary: check for unproxyable API types should get moved to the validateBeans phase
                 Key: OWB-696
                 URL: https://issues.apache.org/jira/browse/OWB-696
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.5
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.1.6


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!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira