Mixin
Mixin copied to clipboard
Fix enum MixinEnvironment.Option parsing always using the default
The previous implementation always throws since it passes the wrong class to Enum.valueOf (e.g. CompatibilityLevel$2 instead of CompatibilityLevel)
What real-world impact does this have?
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