On Mon, 15 Dec 2025 16:15:49 GMT, Christoph Langer <[email protected]> wrote:

> This change adds back debug symbols by default to non-product builds.
> 
> Whether to add debug symbols to the images/bundles created in a build is 
> controlled by the configure switch `--with-external-symbols-in-bundles`. 
> Possible values are `full`, which will be the default setting for non-product 
> builds, `none` which is the default for product builds and a special option 
> `public` which is only supported on Windows and enables stripped debug files 
> in JDK/JRE images and bundles that are smaller than full debug files but 
> still allow function names to be displayed in, e.g. hs_err files.
> 
> If `external-symbols-in-bundles` are turned on, they propagate into images 
> and bundles through the jmod files.
> With that, some code of Bundles.gmk that took care of copying the right set 
> of debug files is now obsolete and can be removed.

This pull request has now been integrated.

Changeset: b5ac8f83
Author:    Christoph Langer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b5ac8f83682ddb9623a1b43bd62f309b2961a504
Stats:     76 lines in 3 files changed: 17 ins; 47 del; 12 mod

8373246: JDK-8351842 broke native debugging on Linux

Reviewed-by: erikj, stuefe

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

PR: https://git.openjdk.org/jdk/pull/28829

Reply via email to