Skip to content

Use JVMS 4.2.2 "Unqualified name" definition to validate identifier#1829

Merged
raphw merged 1 commit intoraphw:masterfrom
gdarmont:jvms-identifier-validation
Jun 25, 2025
Merged

Use JVMS 4.2.2 "Unqualified name" definition to validate identifier#1829
raphw merged 1 commit intoraphw:masterfrom
gdarmont:jvms-identifier-validation

Conversation

@gdarmont
Copy link
Copy Markdown
Contributor

Hey Rafael,

Following our google group discussion, I managed to take some time to improve identifier name validation.
I validated the implementation check against the current OpenJDK parser code.

I created two additional methods. I hesitated to create a single method, to avoid the almost same loop in both methods. But I went for readability in this case. Let me know what you think.

Hope this helps,
Guillaume

@raphw raphw self-assigned this Jun 25, 2025
@raphw raphw merged commit dbd2be8 into raphw:master Jun 25, 2025
@raphw
Copy link
Copy Markdown
Owner

raphw commented Jun 25, 2025

Thanks!

@gdarmont gdarmont deleted the jvms-identifier-validation branch June 25, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants