Other |
---|
tbdUnresolved |
Relates :
|
|
Relates :
|
|
Relates :
|
Background: A mail to compiler-dev (https://mail.openjdk.java.net/pipermail/compiler-dev/2022-May/019783.html) noted that "it also seems like the parameters of a compact constructor for records are never marked as mandated, even when compiling with the -parameters flag (but the MethodParameters attribute is always written or record constructors)." the MANDATED flag has been used so far for parameters added by the compiler. Now the compiler is adding more members that are not parameters only, like accessors and constructors in records. We should consider if the flag should be applied to those too. This flag would only be visible by source reflection