RFR: 8352689: Allow for hash sum overrides when linking from the run-time image [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Mon Apr 7 09:03:51 UTC 2025
On Tue, 1 Apr 2025 16:12:39 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > @AlanBateman Any more thoughts on this? We'd need to include a patch like this one for getting the Fedora JDK 24+ builds to work with JEP 493 enabled. Thanks!
>
> Allowing for a small number of upgradable files is needed, I see you have a JBS issue for that. I have not warmed to the proposal to have override or have alt hashes, I think we need to think spend more time thinking about the issues there.
Another way to solve the `*.pdb` issue on Windows would be to keep the `JMODs` view of the world (which have stripped or minimal pdb files with naming `<name>.pdb`) consistent in the JDK image if and only if both options `--enable-linkable-runtime` and `--with-external-symbols-in-bundles=public` are **both** on. That is the full PDB files could be in the JDK image as `<name>.full.pdb` if needed. Or alternatively copied over by means of installing the debug bundle over it when debugging is needed.
This keeps the RPM case unsolved where a JDK build might have specified `--with-native-debug-symbols=internal` and some RPM post-build processing strips the debug symbols from the binary and places the symbols in an extra package.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24190#issuecomment-2782532442
More information about the core-libs-dev
mailing list