RFR: 8214796: Create a jlink plugin for stripping debug info symbols from native libraries

Alan Bateman Alan.Bateman at oracle.com
Sun Feb 10 15:33:02 UTC 2019

On 08/02/2019 18:53, Mandy Chung wrote:
> Renaming it to make it clear is good.  How about:
> --strip-debug-attribute
> --strip-native-debug-symbols
> --strip-debug will invoke both --strip-debug-attribute and
> --strip-native-debug-symbols, if supported.
> Typically we want to strip both.  If only stripping debug attribute,
> then it can use --strip-debug-attribute.
> What do you think?
This make sense and I'm just wondering if we need to extend this to 
debug symbols that are in external files. This suggests exploring 
whether it should imply --exclude-files too.

> :
> Hmm... I thought it allows optional arguments. LegalNoticeFilePlugin
> accepts an optional argument.
I don't think --dedup-legal-notices works without an option. It would be 
generally useful to allow optional values.


More information about the build-dev mailing list