Skip to content

java.lang.reflect.Parameter#isSynthetic() should not depend on user option for enum constructors #4338

@jarthana

Description

@jarthana

Our JEP 118 implementation added synthetic flags to the parameters of enum's private constructor to be stored in class files. But this depends on an user option, which makes sense for parameter names. But since have an API that depends on this implementation, it will be good to store the synthetic information for enum constructors by default, just as we do for records.

Metadata

Metadata

Assignees

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