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

Mikhail Cherkasov mikhail.cherkasov at oracle.com
Thu Apr 27 12:34:05 UTC 2017


Hi all,

Could you please review a backport of 8160893 to jdk8?
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