Local Variable Type Inference - compiler messages

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Mar 11 17:15:02 UTC 2016


Hi,
We've collected some snippets of problematic uses of the 'var' feature 
and stack them together in a single browsable page[1], to make it easy 
to see what the generated compiler message looks like.
Please let us know what you think i.e. if you see error messages which 
needs to be improved - and should you run into corner cases which are 
not covered in this doc, please let us know!

I will be updating this page as we discover new 'interesting' error 
messages.

Maurizio

[1] - http://cr.openjdk.java.net/~mcimadamore/var-diags.html


More information about the platform-jep-discuss mailing list