Skip to content

Fix enum field add/remove #445

@liuzhengyang

Description

@liuzhengyang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions