RFR: 8347007: --strip-debug removes parameter names included with -parameters [v3]

Henry Jen henryjen at openjdk.org
Thu Oct 9 21:00:04 UTC 2025


On Thu, 9 Oct 2025 13:42:38 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Henry Jen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   MethodParameters attribute should not be removed
>
> test/jdk/tools/jlink/plugins/StripParameterNamesTest.java line 189:
> 
>> 187:         Process process = processBuilder.start();
>> 188:         int exitCode = process.waitFor();
>> 189:         var output = process.inputReader().readLine();
> 
> Have you looked into using  jdk.test.lib.process.ProcessTools?

What do you recommend? Since I don't need complex processing of output, so I just did this.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27566#discussion_r2417943352


More information about the core-libs-dev mailing list