Repository navigation
Conversation
…ays what it does not check A native image carries its own runtime, so running it must not look for a Java one. The gate runs hello-awtfree once more, alone, under strace on Linux (every file access) and with DYLD_PRINT_LIBRARIES on macOS (every library loaded), and fails on anything under the runner's JDK or GraalVM, a module image, jvm.cfg, libjvm or libjava, or on macOS a library outside the system. A step of its own states what the gate cannot check: building from source needs a JDK; needing only the platform's linker holds where the renderer arrives prebuilt.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
check-one-executable.shruns the executable once more, alone, and watches it: every file it touches on Linux (strace -f -e trace=file), every library it loads on macOS (DYLD_PRINT_LIBRARIES). It fails if the run looks for a Java runtime: anything under the runner'sGRAALVM_HOMEorJAVA_HOME, a module image,jvm.cfg,libjvmorlibjava. On macOS it also fails on a library outside/usr/liband/System.straceis added to the Linux packages. README updated.