hg: jdk/jdk: 8211102: Crash with -XDfind=lambda and -source 7
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Thu Sep 27 08:33:44 UTC 2018
Changeset: eb3e72f181af
Author: jlahoda
Date: 2018-09-27 10:24 +0200
URL: http://hg.openjdk.java.net/jdk/jdk/rev/eb3e72f181af
8211102: Crash with -XDfind=lambda and -source 7
Summary: Disabling analyzers that cannot run in the given source level; lambdas in standalone positions should have erroneous type rather than the recovery type; avoiding crash in Flow for broken code.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/langtools/tools/javac/analyzer/AnalyzersCheckSourceLevel.java
+ test/langtools/tools/javac/analyzer/AnalyzersCheckSourceLevel.out
+ test/langtools/tools/javac/analyzer/T8211102.java
+ test/langtools/tools/javac/lambda/LambdaNoFuncIntfFlow.java
+ test/langtools/tools/javac/lambda/LambdaNoFuncIntfFlow.out
+ test/langtools/tools/javac/lambda/NoTargetLambda.java
+ test/langtools/tools/javac/lambda/NoTargetLambda.out
More information about the jdk-all-changes
mailing list