-
Bug
-
Resolution: Unresolved
-
P4
-
11, 14
-
Mac OS X
-
x86_64
-
os_x
FULL PRODUCT VERSION :
openjdk version "14-ea" 2020-03-17
OpenJDK Runtime Environment (build 14-ea+17-721)
OpenJDK 64-Bit Server VM (build 14-ea+17-721, mixed mode, sharing)
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.15.1, JRE 11 Mac OS X amd64-64-Bit 20190823_289 (JIT enabled, AOT enabled)
OpenJ9 - 0f66c6431
OMR - ec782f26
JCL - fa49279450 based on jdk-11.0.4+11)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X
A DESCRIPTION OF THE PROBLEM :
With Mac OS X, DragSourceDragEvent.getGestureModifiersEx() returns wrong values.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and launch the attached sample code.
% javac *.java
% java DnDTest
2. Start dragging from a button frame to a label frame.
3. Press modification key, such as Shift, Control, alt (option), or command.
Confirm the console output.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Exprected:
none: BUTTON1
Shift: BUTTON1|SHIFT
Control: BUTTON1|CTRL
alt(option): BUTTON1|ALT
command: BUTTON1|Other(0x100) // I'm not sure the value
Actual:
none: BUTTON1|SHIFT (0x440) // Incorrect
Shift: BUTTON1|SHIFT (0x440)
Control: BUTTON1|CTRL (0x480)
alt(option): BUTTON1|CTRL|ALT|Other(0x2000) (0x2680) // Incorrect
command: BUTTON1|SHIFT|Other(0x100) (0x540) // Incorrect
REPRODUCIBILITY :
This bug can be reproduced always.
openjdk version "14-ea" 2020-03-17
OpenJDK Runtime Environment (build 14-ea+17-721)
OpenJDK 64-Bit Server VM (build 14-ea+17-721, mixed mode, sharing)
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.15.1, JRE 11 Mac OS X amd64-64-Bit 20190823_289 (JIT enabled, AOT enabled)
OpenJ9 - 0f66c6431
OMR - ec782f26
JCL - fa49279450 based on jdk-11.0.4+11)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X
A DESCRIPTION OF THE PROBLEM :
With Mac OS X, DragSourceDragEvent.getGestureModifiersEx() returns wrong values.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and launch the attached sample code.
% javac *.java
% java DnDTest
2. Start dragging from a button frame to a label frame.
3. Press modification key, such as Shift, Control, alt (option), or command.
Confirm the console output.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Exprected:
none: BUTTON1
Shift: BUTTON1|SHIFT
Control: BUTTON1|CTRL
alt(option): BUTTON1|ALT
command: BUTTON1|Other(0x100) // I'm not sure the value
Actual:
none: BUTTON1|SHIFT (0x440) // Incorrect
Shift: BUTTON1|SHIFT (0x440)
Control: BUTTON1|CTRL (0x480)
alt(option): BUTTON1|CTRL|ALT|Other(0x2000) (0x2680) // Incorrect
command: BUTTON1|SHIFT|Other(0x100) (0x540) // Incorrect
REPRODUCIBILITY :
This bug can be reproduced always.