-
Bug
-
Resolution: Fixed
-
P3
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8163725 | 8u121 | Philip Race | P3 | Resolved | Fixed | b01 |
JDK-8160845 | 8u112 | Philip Race | P3 | Resolved | Fixed | b03 |
JDK-8167852 | emb-8u121 | Philip Race | P3 | Resolved | Fixed | b01 |
src/java.desktop/share/classes/sun/font/.ScriptRunData.java
has
if (cp >= CHAR_START & cp < CHAR_LIMIT) {
when it clearly means :
if (cp >= CHAR_START && cp < CHAR_LIMIT) {
Fortunately in Java precedence rules make this
equivalent to
if ((cp >= CHAR_START) & (cp < CHAR_LIMIT)) {
and the resulting if (boolean-value1 & boolean-value) will end up
with the intended result anyway.
But we should still fix it ..
has
if (cp >= CHAR_START & cp < CHAR_LIMIT) {
when it clearly means :
if (cp >= CHAR_START && cp < CHAR_LIMIT) {
Fortunately in Java precedence rules make this
equivalent to
if ((cp >= CHAR_START) & (cp < CHAR_LIMIT)) {
and the resulting if (boolean-value1 & boolean-value) will end up
with the intended result anyway.
But we should still fix it ..
- backported by
-
JDK-8160845 ScriptRunData.java uses bitwise AND instead of logical AND
-
- Resolved
-
-
JDK-8163725 ScriptRunData.java uses bitwise AND instead of logical AND
-
- Resolved
-
-
JDK-8167852 ScriptRunData.java uses bitwise AND instead of logical AND
-
- Resolved
-