hg: jdk7u/jdk7u-dev/langtools: 7181320: javac NullPointerException for switch labels with cast to String expressions
sundararajan.athijegannathan at oracle.com
sundararajan.athijegannathan at oracle.com
Sun Sep 9 23:38:26 PDT 2012
Changeset: a2f36e3acda6
Author: sundar
Date: 2012-09-10 12:08 +0530
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/langtools/rev/a2f36e3acda6
7181320: javac NullPointerException for switch labels with cast to String expressions
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/StringsInSwitch/7181320/BinOpInCaseLabel.java
+ test/tools/javac/StringsInSwitch/7181320/CastInCaseLabel.java
+ test/tools/javac/StringsInSwitch/7181320/CondExprInCaseLabel.java
+ test/tools/javac/StringsInSwitch/7181320/CondExprInCaseLabel1.java
+ test/tools/javac/StringsInSwitch/7181320/CondExprInCaseLabel2.java
More information about the jdk7u-dev
mailing list