hg: jdk/jdk: 8199910: Compiler crashes with -g option and variables of intersection type inferred by `var`

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Mar 23 16:55:36 UTC 2018


Changeset: 3556298e481d
Author:    mcimadamore
Date:      2018-03-23 16:53 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/3556298e481d

8199910: Compiler crashes with -g option and variables of intersection type inferred by `var`
Summary: Javac should skip non-denotable types in the LocalVariableTypeTable attribute
Reviewed-by: jlahoda
Contributed-by: bitterfoxc at gmail.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/langtools/tools/javac/T8199910.java
! test/langtools/tools/javac/lvti/harness/LocalVariableInferenceTester.java



More information about the jdk-changes mailing list