Skip to content

Module support for native-image building #1962

Closed
@olpaw

Description

@olpaw

The native-image source base needs to be modularized similar to what already happened for other parts of our GraalVM stack. This will help to get rid of all the --add-exports that we currently need when we run the image builder on Java 11+.

Additionally we need support for specifying the application that we want to build an image from on the module path. I.e. we need to support native-image --module-path. Specifically we need

  • -p <module path>
  • --module-path <module path>...
  • -m or --module <module>
  • --add-opens & --add-exports

Adding support for 'native-image ' would also be nice to have.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions