On Fri, 14 Mar 2025 12:31:22 GMT, Christoph Langer <clan...@openjdk.org> wrote:

> Given all of this, is there any possibility at all for 
> --enable-linkable-runtime to handle both full and stripped pdb files, or do 
> we need to accept that this is an inherent limitation for the linkable 
> runtime?

I see a couple of options:

1. Do the same in JMODs that what is done in the image (*.pdb files are full, 
*.stripped.pdb are, well stripped). I.e. include them both. The problem should 
go away. I guess that's not desired for some reason?
2. @RealCLanger work-around for a work-around :) Cannot say, this is a nice 
solution.
3. Don't do the full *.pdb copy over stripped *.pdb files when building with 
`--with-external-symbols-in-bundles=public` and cater for the debugging case by 
providing a symbols bundle which has *.pdb (full) and *.stripped.pdb and copy 
them over the image.

None of them seem ideal. My preference would be (3), but YMMV.

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

PR Comment: https://git.openjdk.org/jdk/pull/24012#issuecomment-2724864698

Reply via email to