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.
Because of: Serializable class java.awt.geom.AffineTransform does not declare serialVersionUID field. Encountere d while storing: [org.openide.util.SharedClassObject$WriteReplace, org.openide.text.PrintSettings, o rg.openide.options.ContextSystemOption, org.openide.options.SystemOption, org.openide.util.SharedCla ssObject, java.lang.Integer, java.lang.Number, java.lang.Boolean, java.awt.Font, java.util.Hashtable , java.awt.font.TextAttribute, java.text.AttributedCharacterIterator$Attribute, java.awt.font.Transf ormAttribute] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Similar problem as in issue #21781 How to reproduce: Tools/Options/Ide Configuration/System/Print Settings/HTML Editor/ change the color in the customizer for i.e. default Syntax
It is just a warning and looking at AffineTransform class it has readObject/writeObject so it should be OK. So perhaps it is false alarm in this case? Other option is not to use such a class and store values as some simpler type. Passing to editor package owner. Was the PrintOption changed in this version?
PrintSettings were not semantically touched for about two years. They are not storing the affine transform themselves, it is a "field" of a java.awt.Font
I thought so. Any idea what to do about that? Should the warning be suppressed when readObject/WriteObject methods exist?
imho fire a bug to JDK about AffineTransform missing serialVersionUID and add it to the list of known classes without it in org.openide.util.io.
*** Issue 49966 has been marked as a duplicate of this issue. ***
in accordance with issue #49966 raising priority to P2
Not related to issue 49966 at all.
Not reporting AffineTransform anymore. openide/util/src/org/openide/util/io/NbObjectOutputStream.java,v1.2