-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GR-36905] Implement --link-at-build-time and @<prop-values-file>. #4305
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
fef7fcc
Add initial implementation of --require-complete-classdef
olpaw 233f7c1
Make SubstrateOptionsParser.commandArgument smarter when option is re…
olpaw 51fb6fc
Generalize OptionOrigin use introduced for LinkAtBuildTime option
olpaw 3eb9031
Add jdk/internal/reflect/GeneratedSerializationConstructorAccessor* h…
olpaw 5ab1d98
Support @<prop-values-file> also for directory-based class-path and m…
olpaw 802265b
Handle macro options like command line options
olpaw 13f45e9
Disable debug output
olpaw 9bf4e60
Style fix
olpaw 14ef9fd
Cache ClassLoaderSupport ImageSingletons
olpaw bf43e74
Make requiresCompleteDefinition package-private
olpaw 7fc2303
Remove duplicate entries from svm-junit.packages
olpaw 99fdb33
Style fix
olpaw c42a493
Consolidate Exception handling in resolveOptionValueRedirectionFlatMap
olpaw 1648216
Support all variants of MacroOptionOrigin and remove UnsupportedOpti…
olpaw 0b6593f
Inline single-use method
olpaw 9179718
Remove debug code
olpaw 6cba492
Record where class and package link-at-build-time options are coming …
olpaw 880e231
Use qualified --link-at-build-time for svm-driver to allow building o…
olpaw 71ede25
Do not default synthetic modules and classes to link-at-build-time
olpaw eab7062
Replace usages of AllowIncompleteClasspath
e4da0b6
Add info why class is seen as requiring link-at-build-time
olpaw 93183a7
Style fix
olpaw 1c1ef87
Ensure LinkAtBuildTimeSupport is already available after afterRegistr…
olpaw 0537b3e
Ensure all images of a GraalVM build require --link-at-build-time
olpaw 2381518
Document OptionOrigin.getRedirectionValues
olpaw 6de6a9f
Rename resolveOptionValueRedirectionFlatMap
olpaw 45a8a13
Allow individual launchers to opt-out of --link-at-build-time
olpaw a0d139d
Implement strict checking of --link-at-build-time arguments
olpaw bf1b83a
Add support for @<prop-values-file> use in macro-options
olpaw ed4525d
Move @<prop-values-file>-use from c.o.s.junit native-image.properties…
olpaw 29ad095
Change SharedBytecodeParser allowIncompleteClassPath to linkAtBuildTi…
olpaw 4dd1540
Fix strict checking of --link-at-build-time arguments for jar-files o…
olpaw 4e330cd
Implement --link-at-build-time-paths
olpaw 7838db3
Fully document --link-at-build-time and --link-at-build-time-paths
olpaw c3227c8
Make OptionOrigin classes package-private
olpaw 1655cb2
Add changelog entry
olpaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ ImageClasspath = ${.}/junit-tool.jar:${.}/junit.jar:${.}/hamcrest.jar | |
Args = -H:Features=com.oracle.svm.junit.JUnitFeature \ | ||
-H:Class=com.oracle.svm.junit.SVMJUnitRunner \ | ||
-H:TestFile=${*} \ | ||
--initialize-at-build-time=org.junit,com.oracle.mxtool.junit.MxJUnitRequest | ||
--initialize-at-build-time=org.junit,com.oracle.mxtool.junit.MxJUnitRequest \ | ||
[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ ImageClasspath = ${.}/junit-support.jar:${.}/junit-tool.jar:${.}/junit.jar:${.}/ | |
Args = -H:Features=com.oracle.svm.junit.JUnitFeature \ | ||
-H:Class=com.oracle.svm.junit.SVMJUnitRunner \ | ||
-H:TestFile=${*} \ | ||
--initialize-at-build-time=org.junit,com.oracle.mxtool.junit.MxJUnitRequest | ||
--initialize-at-build-time=org.junit,com.oracle.mxtool.junit.MxJUnitRequest \ | ||
[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
com.oracle.mxtool.junit | ||
junit.framework | ||
junit.runner | ||
org.hamcrest | ||
org.hamcrest.core | ||
org.hamcrest.internal | ||
org.junit | ||
org.junit.internal | ||
org.junit.internal.builders | ||
org.junit.internal.runners.model | ||
org.junit.internal.runners.statements | ||
org.junit.rules | ||
org.junit.runner | ||
org.junit.runner.manipulation | ||
org.junit.runner.notification | ||
org.junit.runners | ||
org.junit.runners.model | ||
org.junit.validator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.