On Tue, 7 Dec 2021 05:03:27 GMT, Liam Miller-Cushon <cus...@openjdk.org> wrote:

>> This change updates the serialized objects used by 
>> `java/awt/dnd/BadSerializationTest/BadSerializationTest.java` using a 
>> similar approach to the previous fix in 
>> [JDK-8039082](https://bugs.openjdk.java.net/browse/JDK-8039082).
>
> Liam Miller-Cushon has updated the pull request with a new target base due to 
> a merge or a rebase. The pull request now contains two commits:
> 
>  - Add uninstallColorsAndFont
>  - 8277817: java/awt/dnd/BadSerializationTest/BadSerializationTest.java 
> failed: ClassNotFoundException: 
> com.apple.laf.AquaImageFactory$SystemColorProxy

src/java.desktop/share/classes/javax/swing/LookAndFeel.java line 199:

> 197:      * @throws NullPointerException if {@code c} is {@code null}
> 198:      */
> 199:     public static void uninstallColors(JComponent c) {

It's a new method, `@since 19` should be added.

src/java.desktop/share/classes/javax/swing/LookAndFeel.java line 247:

> 245:      * @throws NullPointerException if {@code c} is {@code null}
> 246:      */
> 247:     public static void uninstallColorsAndFont(JComponent c) {

Should also have `@since 19`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6603

Reply via email to