Details
-
Sub-task
-
Resolution: Fixed
-
P2
-
8
-
b75
-
Verified
Description
The character '_' should not be used as an identifier; for existing code using '_' in identifier position, the compiler should emit a mandatory warning, while the compiler should not parse '_' used as lambda parameter names.
Attachments
Issue Links
- duplicates
-
JDK-8007538 Compiler should reject keyword '_' as identifier
- Closed
- relates to
-
JDK-8006561 Langtools test failure: missing diags/examples
- Closed
-
JDK-8007401 Write test to check for generation of warnings when '_' is used as an identifier
- Closed