RFR: 7030853: JDK 7 Serializable Swing classes not compatible with JDK 6 [v6]
Sergey Bylokhov
serb at openjdk.org
Tue Dec 13 03:06:40 UTC 2022
On Mon, 12 Dec 2022 03:37:24 GMT, Prasanta Sadhukhan <psadhukhan at 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 one additional commit since the last revision:
>
> Remove space
src/java.desktop/share/classes/javax/swing/text/html/parser/ParserDelegator.java line 50:
> 48: * appropriate for short term storage or RMI between applications running
> 49: * the same version of Swing. As of 1.4, support for long term storage
> 50: * of all JavaBeans has been added to the <code>java.beans</code> package
Just found that this line, unlike others, does not have a point at the end.
-------------
PR: https://git.openjdk.org/jdk/pull/11565
More information about the client-libs-dev
mailing list