History of using -parameters for JDK builds
Alex Buckley
alex.buckley at oracle.com
Tue Jan 28 22:37:56 UTC 2025
Chen,
Specifically on this JBS item:
On 1/28/2025 12:17 PM, Chen Liang wrote:
> I believe turning on -parameters is no longer as necessary with the
> introduction of JDK-8292275 ...
This bug, and the corresponding CSR which authorized automatic
generation of MethodParameters (JDK-8292467), would be much easier to
comprehend if they stated clearly that:
Parameter names are _not_ included in the generated attribute.
It continues to be necessary to specify -parameters at compile time
to generate MethodParameters attributes with parameter names.
Alex
More information about the compiler-dev
mailing list