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

Fix enum MixinEnvironment.Option parsing always using the default #157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sfPlayer1
Copy link

The previous implementation always throws since it passes the wrong class to Enum.valueOf (e.g. CompatibilityLevel$2 instead of CompatibilityLevel)

@LlamaLad7
Copy link
Collaborator

What real-world impact does this have?

@sfPlayer1
Copy link
Author

It only has an effect if someone uses the system property, but I'm mostly fixing this because it throws and I'm investigating a different IllegalStateException

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.

2 participants