On Fri, 17 Jul 2026 16:27:32 GMT, Christoph Langer <[email protected]> wrote:

>> Ah, yes. `seenPlugins` are plugins explicitly seen on the CLI and not 
>> disabled explicitly. In case of `--strip-debug` only `exclude-files` won't 
>> be there. Thanks for the clarification. This is pretty messy :-/
>
> Actually, I don't like using "--disable-plugin=exclude-files" as a fallback 
> for the old behavior (the way it is currently documented in the draft CSR). 
> Wouldn't it make more sense to add an option to --strip-debug to suppress 
> file exclusions? Or, even don't add anything at all? The fallback for not 
> excluding external debug info files in --strip-debug would be to explicitly 
> call the desired combination of "--strip-java-debug-attributes" and 
> "--strip-native-debug-symbols=". I doubt that this is needed anywhere, 
> anyway...

Sounds reasonable and is more in line how the other combination works (java and 
native). Sorry for the wrong turn there.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31690#discussion_r3604810029

Reply via email to