-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
address issue #1119 (serialization with protected/private constructor) #1181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Transferred @pspeed42 comment from the other thread (#1180 (comment))
|
|
@pspeed42 is correct; that 2nd |
|
Well, I mean setAccessible() on the constructor you will actually use might be better than calling it on every constructor in the whole class. It also means the find constructor method is doing what it says and not extra stuff. |
Murph9
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the new InstantiationException
|
Much better. |
No description provided.