mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 11:53:09 +00:00
8160623: [PIT] Exception running java/awt/event/KeyEvent/KeyChar/KeyCharTest.java
Reviewed-by: yan, prr
This commit is contained in:
parent
a8699979b0
commit
e040960f7e
@ -3541,7 +3541,7 @@ UINT AwtComponent::WindowsKeyToJavaChar(UINT wkey, UINT modifiers, TransOps ops,
|
||||
BOOL deadKeyFlag = (converted == 2);
|
||||
|
||||
// Dead Key
|
||||
if (converted < 0 || wChar[0] == 0 || isDeadKey) {
|
||||
if (converted < 0 || isDeadKey) {
|
||||
translation = java_awt_event_KeyEvent_CHAR_UNDEFINED;
|
||||
} else
|
||||
// No translation available -- try known conversions or else punt.
|
||||
|
||||
@ -32,7 +32,7 @@ import java.util.Locale;
|
||||
/*
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8022401
|
||||
* @bug 8022401 8160623
|
||||
* @summary Wrong key char
|
||||
* @author Alexandr Scherbatiy
|
||||
* @run main KeyCharTest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user