Mixin icon indicating copy to clipboard operation
Mixin copied to clipboard

Fix enum MixinEnvironment.Option parsing always using the default

Open Player3324 opened this issue 1 year ago • 2 comments

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

Player3324 avatar Sep 20 '24 17:09 Player3324

What real-world impact does this have?

LlamaLad7 avatar Sep 20 '24 17:09 LlamaLad7

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

Player3324 avatar Sep 20 '24 17:09 Player3324