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

Only substitute OctetKeyPair* classes when on the classpath #31984

Merged
merged 1 commit into from
Mar 20, 2023

Commits on Mar 20, 2023

  1. Only substitute OctetKeyPair* classes when on the classpath

    Under certain configurations (e.g. in
    quarkusio#31930) the substitution
    fails with:
    
    ```
    Error: Substitution target for io.quarkus.smallrye.jwt.build.runtime.graalvm.Target_org_jose4j_jwk_OctetKeyPairJsonWebKey is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
    com.oracle.svm.core.util.UserError$UserException: Substitution target for io.quarkus.smallrye.jwt.build.runtime.graalvm.Target_org_jose4j_jwk_OctetKeyPairJsonWebKey is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
    ```
    
    which indicates that the class being substituted cannot be located on the classpath.
    zakkak committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    1b143e9 View commit details
    Browse the repository at this point in the history