Skip to content
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

Support GraalVM 19 #2412

Closed
4 tasks done
Sanne opened this issue May 12, 2019 · 6 comments · Fixed by #2875
Closed
4 tasks done

Support GraalVM 19 #2412

Sanne opened this issue May 12, 2019 · 6 comments · Fixed by #2875

Comments

@Sanne
Copy link
Member

Sanne commented May 12, 2019

Several things changed, making GraalVM 19 currently not compatible with Quarkus.

So far I noticed:

  • native-image is no longer included by default. Need to install it by running "gu install native-image" -> adapt documentation, adapt CI, adapt container images.
  • SubstrateAutoFeatureStep needs to invoke different methods; e.g. delayClassInitialization was renamed to initializeAtRunTime
  • Issue java.lang.reflect.Method.getDefaultValue does not work  oracle/graal#649 was resolved, we need to remove the substitutions for it from class /core/runtime/src/main/java/io/quarkus/runtime/graal/MethodReplacement.java.
  • the default strategy to initialize static blocks changed; we should set --initialize-at-build-time by default, but also verify how this interactos with other flags we're setting.

There are certainly some more issues, to be investigated.

@rsvoboda
Copy link
Member

native-image is no longer included by default

It's true for Linux and macOS distribution.

graalvm-ce-19.0.0 for Windows contains native-image, on the other hand there is no "gu".

This may change in the future releases, but for now Windows + GraalVM are special (GraalVM has Early Adopter Windows Support atm)

@dmlloyd
Copy link
Member

dmlloyd commented May 13, 2019

Maybe we want a dedicated project board and separate issues for each GraalVM 19 issue?

@emmanuelbernard
Copy link
Member

Hey @dmlloyd, can you tell the status on this. I’m a little but in the dark.

@dmlloyd
Copy link
Member

dmlloyd commented May 21, 2019

The best place to look would be the GraalVM 19 board: https://github.com/quarkusio/quarkus/projects/8

However right now we're stuck on oracle/graal#1183. I'm waiting for a GraalVM branch to test with.

@dmlloyd
Copy link
Member

dmlloyd commented May 22, 2019

We've gotten past oracle/graal#1183, now we're stuck on oracle/graal#1320.

@n1hility
Copy link
Member

Blocker list: #2792

@emmanuelbernard emmanuelbernard added this to the 0.18.0 milestone Jun 24, 2019
@gsmet gsmet changed the title Support GraalVM v. 19.0 Support GraalVM 19 Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants