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

java.lang.VerifyError happens when use mysql jdbc 8.0.32 on jdk19 + nginx-clojure 0.6.0 #279

Open
xfeep opened this issue Mar 22, 2023 · 1 comment
Labels

Comments

@xfeep
Copy link
Member

xfeep commented Mar 22, 2023

When use mysql jdbc 8.0.32 on jdk19 + nginx-clojure 0.6.0 with native coroutine enabled, java.lang.VerifyError happens.

Exception in thread "nginx-clojure-embed" java.lang.VerifyError: Expecting a stackmap frame at branch target 12
Exception Details:
  Location:
    com/mysql/cj/jdbc/NonRegisteringDriver.<clinit>()V @0: ldc
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0000000: 123a b600 3bb8 003c 57a7 0004 4bb1     
  Exception Handler Table:
    bci [0, 9] => handler: 12

	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:390)
	at java.base/java.lang.Class.forName(Class.java:381)
@xfeep
Copy link
Member Author

xfeep commented Mar 22, 2023

jvm_options "-Xverify:none";

This option can be used to work around this issue.

xfeep added a commit that referenced this issue Mar 22, 2023
@xfeep xfeep added the bug label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant