[Checkers] compiler unstability

Mahmood Ali mahmood at MIT.EDU
Tue Aug 12 17:01:33 EDT 2008


Greetings guys,

I just wanted to point out that the compiler released early this  
morning is not quite stable.  In particular, it throws a class cast  
exception when parsing a new array creation expression with ELTS-IN  
syntax where the annotation shows up with an expression, e.g. 'new  
String[@Odd 2]'.

The workaround for now is to either
1. set jsr308_arrays environment or system variable to 'elts_it'.  The  
current default is 'arrays_pre', or
2. change the code to adhere to the arrays_pre syntax.

A fix is on its way.

Regards,
Mahmood




More information about the checkers mailing list