-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P5
-
Affects Version/s: 9
-
Component/s: client-libs
-
b45
The methods getSystemMnemonicKeyCodes and getKeyCodesFromKeyMask declare ArrayList as the return type. It doesn't have to be a specific type.
I propose replacing ArrayList<Integer> with List<Integer>.
In this case, getSystemMnemonicKeyCodes could return List.of, which would look cleaner.
In addition to that, getKeyCodesFromKeyMask uses the deprecated constants, replace these constants with their alternatives.
I propose replacing ArrayList<Integer> with List<Integer>.
In this case, getSystemMnemonicKeyCodes could return List.of, which would look cleaner.
In addition to that, getKeyCodesFromKeyMask uses the deprecated constants, replace these constants with their alternatives.
- relates to
-
JDK-8067441 Some tests fails with error: cannot find symbol getSystemMnemonicKeyCodes()
-
- Resolved
-