test/tools/javac/InnerNamedConstant_2.out

Tue, 11 Aug 2009 01:13:42 +0100

author
mcimadamore
date
Tue, 11 Aug 2009 01:13:42 +0100
changeset 360
62fb6cafa93b
parent 69
82c7aa6fe50a
child 830
02e6e7dd1a64
permissions
-rw-r--r--

6869075: regression: javac crashes when compiling compound string assignment with generics
Summary: javac should not add syntehtic cast to the LHS of an assignment expression
Reviewed-by: jjg

     1 InnerNamedConstant_2.java:22:20: compiler.err.icls.cant.have.static.decl
     2 InnerNamedConstant_2.java:23:29: compiler.err.icls.cant.have.static.decl
     3 InnerNamedConstant_2.java:25:13: compiler.err.cant.assign.val.to.final.var: z
     4 InnerNamedConstant_2.java:34:26: compiler.err.icls.cant.have.static.decl
     5 4 errors

mercurial