RFR: 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
sgehwolf at redhat.com
Thu Feb 7 17:09:18 UTC 2019
Could I please get reviews for this enhancement? It adds a debug
symbols stripping plug-in to jlink for Linux and Unix platforms. It's
the first platform specific jlink plugin and the approach taken for
keeping it contained is to use a plugin specific ResourceBundle.
Discussion for this happened in .
The test uses a native library which should never get debug symbols
stripped during the test library build. As such, tiny modifications
were needed to make/common/TestFilesCompilation.gmk. Hence, build-dev
being on the list for this RFR. The test currently only runs on Linux
and requires objcopy to be available. Otherwise the test is being
Example usage of this plugin is described in the bug.
Testing: test/jdk/tools/jlink test/jdk/jdk/modules tests on Linux
x86_64 (with good and broken objcopy) and the newly added test. It's
currently running through jdk/submit too.
More information about the build-dev