RFR: 8343839: Detect patched modules and abort run-time image link early [v4]

Severin Gehwolf sgehwolf at openjdk.org
Tue Dec 3 18:49:05 UTC 2024


On Tue, 3 Dec 2024 17:53:44 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > @AlanBateman OK with this too?
> 
> ModuleBootstap is the place to initialize the module system and setup the boot layer. The ModuleBootstrap.patcher() method is there for its buddy SystemModuleFinders, it should not be public. So I suppose what you have is okay but I think we're going to have work on removing this coupling in the future.

https://bugs.openjdk.org/browse/JDK-8345184 might solve this. If we don't need to special case a patched runtime this all goes away.

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

PR Comment: https://git.openjdk.org/jdk/pull/22037#issuecomment-2515329535


More information about the core-libs-dev mailing list