RFR: 8319192: Remove javax.swing.plaf.synth.SynthLookAndFeel.load(URL url) [v2]

Alexander Zvegintsev azvegint at openjdk.org
Wed Mar 5 22:55:53 UTC 2025


On Wed, 5 Mar 2025 01:21:08 GMT, Phil Race <prr at openjdk.org> wrote:

>> Back in JDK 21 we deprecated-for-removal SynthLookAndFeel.load(URL) and targeted it to be removed under this bug ID in JDK 25 .. which is now here.
>> 
>> No open tests needed to be updated to accommodate this removal 
>> I did find one closed manual test, written to explicitly test this API back when it was added, and I'll need to remove that, but it doesn't affect this PR.
>> 
>> There will be a CSR (and probably a release note too).
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8319192

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthParser.java line 223:

> 221:         }
> 222: 
> 223:         assert(classResourceBase != null);

It looks like this assert is no longer needed, because the `classResourceBase` is not null at this point.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23909#discussion_r1982287358


More information about the client-libs-dev mailing list