8057652: Request to improve error messages for labeled declarations
Summary: Parse labeled statements as block statements to improve error recovery for labeled declarations; related cleanup.
Reviewed-by: jjg
ResourceNameConflict.java:21:35: compiler.err.already.defined: kindname.variable, tr, kindname.method, test1()
ResourceNameConflict.java:27:39: compiler.err.already.defined: kindname.variable, str, kindname.method, test2(java.lang.String...)
2 errors