We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When building a Native Image using GraalVM, Quarkus parses the version of native-image on the following class:
https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/GraalVM.java
The check fails for some custom Runtimes we are developing.
In particular Quarkus expects the runtime to be OpenJDK or GraalVM, and the vm name OpenJDK 64-Bit Server or Substrate
private static final String RUNTIME_NAME = "(?<RUNTIME>(?:OpenJDK|GraalVM) Runtime Environment) "; private static final String VM_NAME = "(?<VM>(?:OpenJDK 64-Bit Server|Substrate) VM) ";
private static final String RUNTIME_NAME = "(?<RUNTIME>(?:OpenJDK|GraalVM) Runtime Environment) ";
private static final String VM_NAME = "(?<VM>(?:OpenJDK 64-Bit Server|Substrate) VM) ";
I would expect to accept other runtimes.
Maybe something like:
private static final String RUNTIME_NAME = "(?<RUNTIME>.*) Runtime Environment) "; private static final String VM_NAME = "(?<VM>.*) VM) ";
private static final String RUNTIME_NAME = "(?<RUNTIME>.*) Runtime Environment) ";
private static final String VM_NAME = "(?<VM>.*) VM) ";
Other runtimes are currently not supported by recent version of Quarkus.
No response
uname -a
ver
java -version
mvnw --version
gradlew --version
The text was updated successfully, but these errors were encountered:
/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel)
Sorry, something went wrong.
Hi @brunocaballero, that makes sense.
Could you please open a PR with the necessary changes, extending the tests in https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/test/java/io/quarkus/deployment/pkg/steps/GraalVMTest.java to cover your case as well?
cc @jerboaa
I think that one got fixed with #37651?
yes, fixed in #37651
brunocaballero
No branches or pull requests
Describe the bug
When building a Native Image using GraalVM, Quarkus parses the version of native-image on the following class:
https://github.com/quarkusio/quarkus/blob/main/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/GraalVM.java
The check fails for some custom Runtimes we are developing.
In particular Quarkus expects the runtime to be OpenJDK or GraalVM, and the vm name OpenJDK 64-Bit Server or Substrate
private static final String RUNTIME_NAME = "(?<RUNTIME>(?:OpenJDK|GraalVM) Runtime Environment) ";
private static final String VM_NAME = "(?<VM>(?:OpenJDK 64-Bit Server|Substrate) VM) ";
Expected behavior
I would expect to accept other runtimes.
Maybe something like:
private static final String RUNTIME_NAME = "(?<RUNTIME>.*) Runtime Environment) ";
private static final String VM_NAME = "(?<VM>.*) VM) ";
Actual behavior
Other runtimes are currently not supported by recent version of Quarkus.
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Mandrel or GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: