JDK-8007538 : Compiler should reject keyword '_' as identifier
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-02-05
  • Updated: 2013-02-14
  • Resolved: 2013-02-14
Related Reports
Duplicate :  
Description
Compiler produces warning instead of error when keyword _ is used as identifier.

Failing JCK test:
lang/LEX/lex060/lex06012m0/lex06012m0.html