JRE-1057 Impossible to enter backslash using Japanese keyboard (macOS)
this reverts commit fbb07014 (fix for JRE-970)
(cherry picked from commit 7fe19a12796f10e5cd6797fb08a63ff8a1ecb101)
diff --git a/src/macosx/native/sun/awt/AWTView.m b/src/macosx/native/sun/awt/AWTView.m
index 0be7579..dd521b9 100644
--- a/src/macosx/native/sun/awt/AWTView.m
+++ b/src/macosx/native/sun/awt/AWTView.m
@@ -774,14 +774,10 @@
}
-(BOOL) isCodePointInUnicodeBlockNeedingIMEvent: (unichar) codePoint {
- if ((codePoint == 0x0024) || (codePoint == 0x00A3) ||
- (codePoint == 0x00A5) ||
- ((codePoint >= 0x20A3) && (codePoint <= 0x20BF)) ||
- ((codePoint >= 0x3000) && (codePoint <= 0x303F)) ||
+ if (((codePoint >= 0x3000) && (codePoint <= 0x303F)) ||
((codePoint >= 0xFF00) && (codePoint <= 0xFFEF))) {
// Code point is in 'CJK Symbols and Punctuation' or
- // 'Halfwidth and Fullwidth Forms' Unicode block or
- // currency symbols unicode
+ // 'Halfwidth and Fullwidth Forms' Unicode block.
return YES;
}
return NO;