<Beans Dev> RFR: 8189198: Add "forRemoval = true" to Applet API deprecations [v2]
    Andy Herrick 
    herrick at openjdk.java.net
       
    Thu Mar 25 22:58:53 UTC 2021
    
    
  
On Wed, 17 Mar 2021 20:33:09 GMT, Andy Herrick <herrick at openjdk.org> wrote:
>>> I cannot find any instances where the scope can be narrowed
>> 
>> Are you about AquaInternalFrameUI.mouseRelased, BasicPopupMenuUI. stateChanged, and other non-trivial methods?
>
>> 
>> 
>> > I cannot find any instances where the scope can be narrowed
>> 
>> Are you about AquaInternalFrameUI.mouseRelased, BasicPopupMenuUI. stateChanged, and other non-trivial methods?
> 
> These have the code pattern such as: 
> } else if (c instanceof JApplet) {
> putting '@SuppressWarnings("removal")' before the declaration of 'c' does not help, because the code is not an assignment to 'c'
pushed minor change to src/java.desktop/share/classes/java/applet/package-info.java as well as merge with master.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2920
    
    
More information about the beans-dev
mailing list