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 field add/remove #445

Closed
liuzhengyang opened this issue Oct 9, 2022 · 1 comment
Closed

Fix enum field add/remove #445

liuzhengyang opened this issue Oct 9, 2022 · 1 comment

Comments

@liuzhengyang
Copy link
Contributor

image

The private static field in Enum class, in jdk8 and jdk11, is $VALUES, instead of ENUM$VALUES.

I create a pull request #444 to resolve this problem.

And update this change, add/remove enum field is available.

By the way, i can't run tests in ClassInitTest like testEnumAddRemove, these test methods are @ignored, maybe exist some others problems.

@skybber
Copy link
Contributor

skybber commented Oct 11, 2022

I've updated 1.4.2-SNAPSHOT release + added a note about this fix. Thanks.

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

No branches or pull requests

2 participants