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

Reply via email to