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

decompiler: Recognize enum as keyword on Java 5 #1078

Merged
merged 1 commit into from Apr 10, 2019
Merged

decompiler: Recognize enum as keyword on Java 5 #1078

merged 1 commit into from Apr 10, 2019

Conversation

TheMrMilchmann
Copy link
Contributor

The current code recognizes enum as keyword on versions greater than 5. However, enums and the keyword have been introduced in Java 5. This PR simply changes the check to check whether a given version is greater than or equal to 5.

@SergeyZh SergeyZh merged commit 0012dd9 into JetBrains:master Apr 10, 2019
SergeyZh pushed a commit that referenced this pull request Apr 10, 2019
@trespasserw
Copy link
Member

Thanks!

Actuarius pushed a commit to MinecraftForge/FernFlower that referenced this pull request Apr 11, 2019
Actuarius pushed a commit to MinecraftForge/FernFlower that referenced this pull request Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants