hg: jdk9/dev/langtools: 8082311: NPE when compiling expression with \"^\"

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue Jun 9 09:52:47 UTC 2015


Changeset: 098657cc98c9
Author:    jlahoda
Date:      2015-06-09 11:52 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/098657cc98c9

8082311: NPE when compiling expression with \"^\"
Summary: Using BinaryNumericOperator for numeric bitwise operators and BinaryBooleanOperator for boolean bitwise operators, as the common BinaryBitwiseOperator allowed to incorrectly combine numeric and boolean operands
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Operators.java
+ test/tools/javac/resolve/BitWiseOperators.java



More information about the jdk9-dev-changes mailing list