This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently, it is not possible to return from <SharedClassObject-subtype>.readResolve() something else than SharedClassObject. It blocks possibility to change "SystemOption"-settings to new bean-based settings (not SystemOption subclass).
Background: <http://openide.netbeans.org/servlets/ReadMsg?msgId=382853&listName=dev>.
Created attachment 7511 [details] Suggested patch.
Note: the suggested patch is for utilities module, not actually a patch for this bug.
Created attachment 7553 [details] Right suggested patch.
:-) Excuse the wrong patch. I have attached new, I hope correct, one.
I have patch together with a test.
SharedClassObject.java new revision: 1.55 SharedClassObjectTest.java new revision: 1.6
Libor, could you verify this one? Thanks in advance.
Verified.