On Wed, 17 Mar 2021 20:33:09 GMT, Andy Herrick <herr...@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

Reply via email to