RFR: 8351842: Windows specific issues in combination of JEP 493 and --with-external-symbols-in-bundles=public [v3]
Erik Joelsson
erikj at openjdk.org
Wed Oct 22 21:40:04 UTC 2025
On Wed, 22 Oct 2025 20:45:51 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> I don't think there is any value in having `library.dll.full.pdb` present in `JDK_IMAGE_DIR`. Instead, I would like to propose that when `--with-external-symbols-in-bundles=public` is set, we continue building them as `library.dll.pdb` and `library.dll.stripped.pdb` into the exploded image. That will preserve the ability to debug the exploded image. When creating jmods we continue to rename and include the `library.dll.stripped.pdb` files instead of the full pdb files. When creating the image in `JDK_IMAGE_DIR`, we only include the stripped variants from the jmods, named `library.dll.pdb`. The full files we copy manually into the `SYMBOLS_IMAGE_DIR` dir instead, also named `library.dll.pdb`.
I just realized we are already putting the pdb files in the `SYMBOLS_IMAGE_DIR`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24012#issuecomment-3434285988
More information about the build-dev
mailing list