RFR: 8375241: Simplify --with-native-debug-symbols-level option implementation [v2]

Aleksey Shipilev shade at openjdk.org
Mon Jan 19 08:48:41 UTC 2026


On Mon, 19 Jan 2026 08:06:52 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Good catch, I forgot about that, will revert.
>
> Actually, on second thought, reverting the last commit will pass -g2 when the flag is not passed to configure, are you fine with that?

Not really, I would like to pass `-g` if level is not overridden. I.e. to dodge bugs if toolchain does not support `-g2` for some weird reason, or `2` is not the actual default for some other weird reason. In the original change, that was the intent: either pass `-g` or `-g<num>` if user provided us with the num.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29214#discussion_r2703785783


More information about the build-dev mailing list