hg: jdk/sandbox: 8199910: Compiler crashes with -g option and variables of intersection type inferred by `var`
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Fri Mar 23 17:00:22 UTC 2018
Changeset: 3556298e481d
Author: mcimadamore
Date: 2018-03-23 16:53 +0000
URL: http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes
mailing list