RFR: 8300891: Deprecate for removal javax.swing.plaf.synth.SynthLookAndFeel.load(URL url) [v3]

Phil Race prr at openjdk.org
Mon Jan 30 18:18:19 UTC 2023


On Mon, 30 Jan 2023 09:49:16 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8300891
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java line 637:
> 
>> 635:      * @since 1.6
>> 636:      * @deprecated Use {@link load(InputStream, Class)} or
>> 637:      * {@link setStyleFactory} instead
> 
> The link to setStyleFactory was used like "{@link #setStyleFactory}" earlier
> https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java#L77
> 
> shouldn't we keep it same?

where was this ? And why ? This works just fine.

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

PR: https://git.openjdk.org/jdk/pull/12175



More information about the client-libs-dev mailing list