Skip to content

Conversation

graalvmbot
Copy link
Collaborator

  • Consistent checking for Layer{Create,Use} enablement
  • Ensure layer-bundle file gets written into image output directory
  • Enlist layer-bundle file in output artifacts list
  • Uniform access to SubstrateOptions.Path value
  • Derive layer filename from image name if not specified
  • Update NativeImageLayers.md spec to incorporate recent changes

Now
native-image -H:+UnlockExperimentalVMOptions -H:LayerCreate=,module=java.base,package=java.net.http -o foo/bar/base-layer
results in

Build artifacts:
 /home/user/foo/bar/base-layer.nil (image_layer_bundle)
 /home/user/foo/bar/base-layer.so (image_layer)
 ...
========================================================================================================================
Finished generating 'base-layer' in 1m 3s.

olpaw added 2 commits April 17, 2025 15:13
* Consistent checking for Layer{Create,Use} enablement
* Ensure layer-bundle file gets written into image output directory
* Enlist layer-bundle file in output artifacts list
* Uniform access to SubstrateOptions.Path value
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 17, 2025
@graalvmbot graalvmbot closed this Apr 17, 2025
@graalvmbot graalvmbot deleted the paw/GR-64145 branch April 17, 2025 21:52
@graalvmbot graalvmbot merged commit 90cbfe3 into master Apr 17, 2025
3 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants