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

SubstrateVM: static field referenced error with Micronaut/Netty and security module with RC7 #717

Open
graemerocher opened this Issue Oct 5, 2018 · 0 comments

Comments

2 participants
@graemerocher

graemerocher commented Oct 5, 2018

Steps to reproduce:

Error:

error: Static field or an object referenced from a static field changed during native image generation?
  object:[Ljava.lang.reflect.Parameter;@52524399  of class: java.lang.reflect.Parameter[]
  reachable through:
    object: public sun.net.www.protocol.http.spnego.NegotiatorImpl(sun.net.www.protocol.http.HttpCallerInfo) throws java.io.IOException  of class: java.lang.reflect.Constructor
    root: sun.net.www.protocol.http.Negotiator.getNegotiator(HttpCallerInfo)

Error: Image building with exit status 1

Things I have tried:

  • Adding io.netty.handler.ssl.JdkNpnApplicationProtocolNegotiator to delay-class-initialization-to-runtime and/or rerun-class-initialization-at-runtime
  • Adding to sun.net.www.protocol.http.Negotiator to delay-class-initialization-to-runtime and/or rerun-class-initialization-at-runtime

None of these seem to have worked. The image builds ok on RC6.

@graemerocher graemerocher changed the title from SubstrateVM with RC7: static field referenced error with Micronaut/Netty and security module with RC7 to SubstrateVM: static field referenced error with Micronaut/Netty and security module with RC7 Oct 5, 2018

@cstancu cstancu added the substrate label Oct 5, 2018

@cstancu cstancu self-assigned this Oct 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment