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. ------------- Commit messages: - Include *.diz files if debug files shall be shipped - JDK-8373246 Ship full debug symbols by default in case of non release builds Changes: https://git.openjdk.org/jdk/pull/28829/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28829&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8373246 Stats: 76 lines in 3 files changed: 17 ins; 47 del; 12 mod Patch: https://git.openjdk.org/jdk/pull/28829.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28829/head:pull/28829 PR: https://git.openjdk.org/jdk/pull/28829
