8160693: ScriptRunData.java uses bitwise AND instead of logical AND
Reviewed-by: flar
--- a/jdk/src/java.desktop/share/classes/sun/font/ScriptRunData.java Fri Jul 01 13:00:53 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/sun/font/ScriptRunData.java Fri Jul 01 14:27:13 2016 -0700
@@ -44,7 +44,7 @@
if (cp >= data[cache] && cp < data[cache+2]) {
return data[cache+1];
}
- if (cp >= CHAR_START & cp < CHAR_LIMIT) {
+ if ((cp >= CHAR_START) && (cp < CHAR_LIMIT)) {
int probe = dataPower;
int index = 0;