Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GraalVM Native Image module introspection to eliminate the need for atomos_lib folder or bundles.index #50

Open
joerg-wille opened this issue Feb 5, 2022 · 0 comments

Comments

@joerg-wille
Copy link

The substrate documentation states that Atomos Module support expects to have full introspection of the Java Platform Module System. Because this was not available in older versions of GraalVM, workarounds were introduced in Atomos which reads bundle information at runtime from an extra atomos_lib folder with copies of all bundle JARs or from a bundles.index file which gets generated by the atomos-maven-plugin.
With the ongoing effort GraalVM Native Image version 22 brings functionality for required introspection at runtime. If Atomos makes use of the information provided by ModuleLayer API the workarounds can be eliminated.
I have created a demo that shows possible runtime information for modules from a native application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant