[
http://jira.jboss.com/jira/browse/JBSER-81?page=all ]
Clebert Suconic closed JBSER-81.
--------------------------------
Resolution: Rejected
It would be possible to build new Objects that don't have a constructor, but that is
way too dangerous... so I'm not doing it.
Suppose you have an Object, using some JNI code, with long pointers or File resources.
If you instantiate that Object, some of the properties required by the JNI layer will
cause a core dumped, or GPF on the JVM.
I have seen this on my tests while instantiating Sockets... So, this is just too dangerous
to be used.
If you don't have a default Constructor, and if the class it's not serializable,
that just mens you can't instantiate it without a known constructor.
Enable Ghost Constructors for NonSerializableClasses
----------------------------------------------------
Key: JBSER-81
URL:
http://jira.jboss.com/jira/browse/JBSER-81
Project: JBoss Serialization
Issue Type: Feature Request
Reporter: Clebert Suconic
Assigned To: Clebert Suconic
Fix For: 1.1.0 Beta
We need a way to create NonSerializableClasses without a default constructor, by using
the GhostCosntructor Feature.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira