Hermetic Java: OnLoad_<libname> changes
I've tried to extract the changes in the hermetic-java-runtime branch that relates to the OnLoad_<libname> changes. It turns out that it was some time since the last merge of master into this branch, so there were quite a few conflicts due to the changes in these areas lately. I think I have solved the conflicts properly, and have opened a draft PR for transparency on what I'm working on: https://github.com/openjdk/jdk/pull/22694. However, I have not tested this code yet, nor do I think it is fit for review. This looks like a too hacky solution to be permanent. I'll try to clean it up a bit before moving the PR out of the draft state. /Magnus
Hi Magnus, Thanks for looking into this. I have been working on our internal prototype to integrate https://github.com/openjdk/jdk/pull/20837 changes. Integration has been already done and I have uncovered a couple of issues so far, https://bugs.openjdk.org/browse/JDK-8345744 and https://bugs.openjdk.org/browse/JDK-8345959. I plan to start testing after additional cleanups, then apply the integration for the hermetic-java-runtime github branch after some testing cycles. Best, Jiangli On Wed, Dec 11, 2024 at 2:59 PM Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com> wrote:
I've tried to extract the changes in the hermetic-java-runtime branch that relates to the OnLoad_<libname> changes. It turns out that it was some time since the last merge of master into this branch, so there were quite a few conflicts due to the changes in these areas lately.
I think I have solved the conflicts properly, and have opened a draft PR for transparency on what I'm working on: https://github.com/openjdk/jdk/pull/22694. However, I have not tested this code yet, nor do I think it is fit for review. This looks like a too hacky solution to be permanent. I'll try to clean it up a bit before moving the PR out of the draft state.
/Magnus
participants (2)
-
Jiangli Zhou
-
Magnus Ihse Bursie