You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Note the inclusion of the `-D` to set the `org.graalvm.nativeimage.imagecode` property. In normal operation a built native executable will have this property set (automatically by the image building process). If there is any code that will behave differently due to it being set (which may occur if trying to work around something not supported by GraalVM) then we should set it when running with the agent too, so that code executed whilst the agent is attached matches the code that will run in the final executable.
47
48
48
49
=== Using it with maven
49
50
@@ -154,4 +155,4 @@ generated configuration.
154
155
to give a name to the native-image built executable. Also tweak the `<mainClass>...</mainClass>` to point to the main application class.
155
156
156
157
Then, running `mvn -Pnative clean package` will do everything from end-to-end. It will compile the app,
157
-
run the test with agent attached, finally building the native-image executable.
158
+
run the test with agent attached, finally building the native-image executable.
0 commit comments