On Thu, 8 Dec 2022 03:35:36 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> The serialized form of the following classes in JDK 7 builds are not >> compatible with prior versions of Java: >> javax.swing.text.html.parser.ParserDelegator >> javax.swing.LayoutComparator >> They need to be declared as not compatible between releases in the API >> documentation, as is the case for some other serializable Swing classes. >> >> Since It is widely known that serialized Swing classes are not comptible >> between major releases, we just didn't add the warning at that couple >> classes. >> Added the warning.. > > Prasanta Sadhukhan has updated the pull request incrementally with two > additional commits since the last revision: > > - Serialzation warning added in javax.swing package > - Serialzation warning added in javax.swing package src/java.desktop/share/classes/javax/swing/package-info.java line 133: > 131: * <h2><a id="serialization">Swing's Serialization policy</a></h2> > 132: * <strong>Warning:</strong> > 133: * Serialized objects of any swing class will not be compatible with capitalise swing ------------- PR: https://git.openjdk.org/jdk/pull/11565