RFR: 8233477 [Win LAF]The tooltip doesn't display correctly in Win LAF [v4]

Tejesh R duke at openjdk.java.net
Thu May 12 16:00:15 UTC 2022


On Mon, 9 May 2022 05:27:54 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removed the test from open, updated in closed
>
> src/java.desktop/share/classes/javax/swing/plaf/metal/MetalToolTipUI.java line 199:
> 
>> 197:     // shared.
>> 198:     @SuppressWarnings("deprecation")
>> 199:     public String getAcceleratorString() {
> 
> Although it is being placed in its super class so it can still be accessed
> but am still not sure if you can remove this public method from this public class without notifying via @deprecated or @forRemoval tag

I guess the deprecation was due to `getKeyModifiersText()`, which has been replaced with `getModifiersExText()`.

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

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



More information about the client-libs-dev mailing list