On 12/02/2020 22:16, Erik Joelsson wrote:
Hello Christoph,

This patch certainly looks better to me, though I agree it's a bit hackish to have to filter and rename the stripped.pdb files twice, once for jmods and again for bundles. I think I'm ok with it for now though. The future improvement I would like to make would be to create two sets of jdk images, one that contains debug symbols and demos, which we continue to use for testing, and another which only contains exactly what we bundle up, including the correctly named top dir. The latter would be created first and used as input for the former. I think lots of things would be cleaner then, especially Bundles.gmk.
There may be a role for a jlink plugin here. On Linux, jlink --strip-native-debug-symbols runs the objdump tool and sub-options can be used to configure the debuginfo files to keep or exclude. In time I'm sure there will be other plugins like this.

-Alan.

Reply via email to