How to open a package from a module in the boot layer to a module in another layer?
Code Ranger
coderanger2025 at outlook.com
Sat Jan 11 22:06:26 UTC 2025
I have an application that consists of a main part and plugins. The main part is in the boot layer, and for each plugin, a child layer is created. Plugins are dynamically added and removed.
In one of my plugins, I use Gson, which requires the API module (located in the boot layer) to open a package to Gson. The boot layer controller is not accessible.
Important! A few days ago (2025-01-08), I created an issue with ID 9077987 suggesting providing access to the boot layer controller, as it is impossible to work without it. However, my issue probably hasn't been reviewed yet, as I haven't received an email with the JDK_ID.
However, considering that implementing this issue may take many years, can someone suggest a workaround I should use in the meantime? I would appreciate any help.
Best regards, Mike
More information about the jigsaw-dev
mailing list