-
Bug
-
Resolution: Fixed
-
P4
-
8u40
-
None
-
b40
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085781 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
JDK-8065529 | 8u45 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8064593 | 8u40 | Attila Szegedi | P4 | Resolved | Fixed | b15 |
JDK-8070518 | emb-8u47 | Attila Szegedi | P4 | Resolved | Fixed | team |
Currently expressions using the || and && operators are always set to Object type. However, these operators evaluate to their left or right hand side without conversion to Boolean, so they should use the widest numeric type of lhs and rhs if possible.
http://es5.github.io/#x11.11
http://es5.github.io/#x11.11
- backported by
-
JDK-8064593 Binary logical expressions can have numeric types
-
- Resolved
-
-
JDK-8065529 Binary logical expressions can have numeric types
-
- Resolved
-
-
JDK-8070518 Binary logical expressions can have numeric types
-
- Resolved
-
-
JDK-8085781 Binary logical expressions can have numeric types
-
- Resolved
-