If a Java program is compiled with the -parameter option, it maintains its method parameter names. If it is then bundled into an image with jlink using the --strip-debug option, these parameter names are removed. The help page says "Strips debug information from the output image".
Parameter names are not only debug symbols, they are used by unmarshalling libraries (like Jackson) to be able to match the text name to the parameter name. A program can stop working with --strip-debug, even though it would seem that only debug information was removed.
Tested with Java 22.
Parameter names are not only debug symbols, they are used by unmarshalling libraries (like Jackson) to be able to match the text name to the parameter name. A program can stop working with --strip-debug, even though it would seem that only debug information was removed.
Tested with Java 22.