-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
I created this issue to gather notes about the next GraalVM upgrade.
Per Codrut Stancu from the GraalVM team on Zulip:
FYI this changeset oracle/graal@fa58e36 introduces a substitution for Field.getAnnotatedType() which conflicts with the Quarkus substitution in https://github.com/quarkusio/quarkus/blob/master/core/runtime/src/main/java/io/quarkus/runtime/graal/FieldReplacement.java. I think the Quarkus substitution for Field.getAnnotatedType() can be removed with the next GraalVM release. In fact, I think that the entire FieldReplacement.java can be removed.DONE!
Per Codrut again
FYI additional changes that Quarkus will need for GraalVM 19.3:
- Update Netty version to include Register sun.nio.ch.SelectorImpl fields for unsafe access. netty/netty#9631
- Additional command-line options --initialize-at-run->time=org.wildfly.common.net.CidrAddress,org.wildfly.common.net.Inet. This is needed due to a new restriction that prohibits the presence of java.net.Inet4Address in the image heap.
Note that this means an upgrade of Netty to 4.1.43.Final
. Or another option is to port this patch https://github.com/netty/netty/pull/9631/files to Quarkus via usage of our reflection registration API but I'm not sure if we have allowUnsafeAccess
support right now.