<AWT Dev>  Review Request: 8183518 Premature deprecation of Event/InputEvent/KeyEvent in Java 9
Sergey.Bylokhov at oracle.com
Wed Nov 22 16:27:51 UTC 2017
Thank you for review.
Yes, it can be removed:
On 22/11/2017 03:09, Prasanta Sadhukhan wrote:
> Hi Sergey,
> Don't we need to remove
> from BasicComboPopup and BasicGraphicsUtils?
> On 11/22/2017 4:16 AM, Sergey Bylokhov wrote:
>> Please review the fix for jdk10.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8183518
>> Webrev can be found at:
>> In jdk9 the list of input events, which have an extended equivalent,
>> were marked as deprecated. But there is some API which works with the
>> old version of events only. In the fix the new method is added:
>> This method works in the same way as old getMenuShortcutKeyMask() but
>> returns the new extended mask.
>> In the fix I have replaced most usages of the old method, except the
>> places where it is used with ActionEvent, which has its own masks(the
>> same as old input event), and currently has no extended modifiers(see
>> CSR will be filed after the technical review.
>>  https://bugs.openjdk.java.net/browse/JDK-8186024
Best regards, Sergey.
More information about the awt-dev