]
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: