<Swing Dev> [9] RFR Backport of 8160893: [macosx] JMenuItems in JPopupMenu are not accessible

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Thu Apr 27 14:01:28 UTC 2017


On 4/27/2017 3:34 PM, Mikhail Cherkasov wrote:
> Hi all,
>
> Could you please review a backport of 8160893 to jdk8?

    The backport looks good to me.

   Should the email subject be [8] RFR Backport...?

   Thanks,
   Alexandr.
> The fix is the same, the only difference in CAccessibility.java
> http://cr.openjdk.java.net/~mcherkas/8160893/webrev/src/macosx/classes/sun/lwawt/macosx/CAccessibility.java.frames.html 
>
>
> in jdk9 fix two imports are removed:
> -import java.lang.reflect.Field;
> -import sun.awt.AWTAccessor;
>
> but in jdk8 "import sun.awt.AWTAccessor;" has already been removed
> and java.lang.reflect.Field is used in other code, so I left it.
>
> jbs: https://bugs.openjdk.java.net/browse/JDK-8160893
> jdk9 changeset: 
> http://hg.openjdk.java.net/jdk9/client/jdk/rev/e5be7a186fcc
> webrev: http://cr.openjdk.java.net/~mcherkas/8160893/webrev/
>
> Thanks,
> Mikhail.




More information about the swing-dev mailing list