eclipse-jdt / eclipse-jdt/eclipse.jdt.core

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

Open
#4,338 1 comment 0 reactions 1 assignee Claimed by @jarthana View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.