[7u10] Request for approval for CR 7181320 - javac NullPointerException for switch labels with cast to String expressions

Seán Coffey sean.coffey at oracle.com
Tue Sep 4 09:53:52 PDT 2012


Approved.

regards,
Sean.

On 04/09/2012 17:33, Joe Darcy wrote:
> Hello,
>
> Please consider for 7u10 a backport of the fix for
>
> 7181320: javac NullPointerException for switch labels with cast to 
> String expressions
>     http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7181320
>
> from JDK 8:
>
>     http://hg.openjdk.java.net/jdk8/tl/langtools/rev/464f52f59f7d
>
> The essence of the fix is to more uniformly preserve constant value 
> information for string expressions so that the code generation for the 
> string-in-switch statement can simply extract the constant value from 
> the corresponding expression.
>
> Thanks,
>
> -Joe




More information about the jdk7u-dev mailing list