On 28/10/2016 09:34, Erik Joelsson wrote:
Yes, it can, `jlink --strip-debug` (or `-G`). A good test would be to build with `javac -g` and then strip the debug information when generating the JRE image to see that it comes out at around the same size as the current build.but maybe jlink is able to strip the debug info from java classes now? In that case we could consider globally enabling -g for product builds.
-Alan.