hg: jdk9/dev/langtools: 8138840: NPE when compiling bitwise operations with illegal operand types; ...

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Oct 12 11:25:24 UTC 2015


Changeset: 79e637c1e083
Author:    mcimadamore
Date:      2015-10-12 12:24 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/79e637c1e083

8138840: NPE when compiling bitwise operations with illegal operand types
8139243: compiler crashes with exception on sum operation of String var and void method call result
8139249: Compiler crashes on unary bitwise complement with non-integral operand
Summary: Certain binary operator checks are accepting more operands than required.
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Operators.java
+ test/tools/javac/8138840/T8138840.java
+ test/tools/javac/8138840/T8138840.out
+ test/tools/javac/8138840/T8139243.java
+ test/tools/javac/8138840/T8139243.out
+ test/tools/javac/8138840/T8139249.java
+ test/tools/javac/8138840/T8139249.out



More information about the jdk9-dev-changes mailing list