google-code-export / protostuff

Automatically exported from code.google.com/p/protostuff
Apache License 2.0
1 stars 1 forks source link

protostuff has problem serilize java.lang.Class Object #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use ProtostuffRuntime to serialize java.lang.Class Object
2.Protostuff 1.0.5 will set the constructor of java.lang.Class to be 
accessible. But JDK1.6 will forbid this.
3.Protostuff 1.0.4 can serilze java.lang.Class as ID_Pojo,but it will call the 
default constuctor of java.lang.Class not the java.lang.Class.newInstance(),so 
JDK will complain this.

Original issue reported on code.google.com by tully...@gmail.com on 11 Apr 2012 at 6:01

GoogleCodeExporter commented 9 years ago
fixed @ rev 1491

Cheers!

Original comment by david.yu...@gmail.com on 11 Apr 2012 at 7:21

GoogleCodeExporter commented 9 years ago
It is so fast! Thanks a lot.

Original comment by tully...@gmail.com on 12 Apr 2012 at 4:54

GoogleCodeExporter commented 9 years ago
Issue 121 has been merged into this issue.

Original comment by david.yu...@gmail.com on 4 May 2012 at 3:04