[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-68) Remove limitation on public constructors

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Sat Apr 4 11:42:25 EDT 2009


     [ https://jira.jboss.org/jira/browse/JASSIST-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba resolved JASSIST-68.
----------------------------------

    Fix Version/s: 3.11.0.GA
       Resolution: Done


> Remove limitation on public constructors
> ----------------------------------------
>
>                 Key: JASSIST-68
>                 URL: https://jira.jboss.org/jira/browse/JASSIST-68
>             Project: Javassist
>          Issue Type: Feature Request
>    Affects Versions: 3.8.1.GA
>            Reporter: Erik Putrycz
>            Assignee: Shigeru Chiba
>             Fix For: 3.11.0.GA
>
>
> Currently when extending a class with javassist, it is required that the superclass has a public constructor. However, in some cases, this is not a necessary constraint.
> For instance when extending a class and generating a factory with Javassist, it is better to hide the constructor to prevent users to bypass the factory, and this is not possible currently.
> This would involve a minor change in inheritAllConstructors() in class CtNewClass

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list