Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project: replace JavaParser by javac #6678

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

mernst
Copy link
Member

@mernst mernst commented Jun 24, 2024

No description provided.

@mernst mernst changed the title Project: replaceu JavaParser by javac Project: replace JavaParser by javac Jun 24, 2024
@smillst smillst merged commit 4b236c1 into typetools:master Jun 25, 2024
28 checks passed
@smillst smillst deleted the potential-projects branch June 25, 2024 18:06
@msridhar
Copy link
Contributor

I wanted to note a downside of using javac, which is that I believe the language features that can be parsed will be dependent on the version of the JVM that is currently running. So, e.g., parsing code with Java 17 syntax will require running on a Java 17 JVM, I think. In contrast, with JavaParser, the version of the running JVM and the supported language features of the parser are more independent. Switching to javac still is probably the best option, just wanted to note this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants