You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jgpc42 - I upgraded to 0.5.3 for the new support for the invokespecial of a default interface method. But doing so broke generation of the classes that worked using 0.5.2. When constructing such a class, I'm getting errors like:
Syntax error (VerifyError) compiling new at (build/reify2.clj:171:1).
Illegal type at constant pool entry 75 in class babashka.impl.clojure.lang.IFn
Exception Details:
Location:
babashka/impl/clojure/lang/IFn.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @7: invokeinterface
Reason:
Constant pool index 75 is invalid
Bytecode:
0000000: 2ab4 0036 b200 24b9 004b 0200 c000 063a
0000010: 0b19 0bc6 001d 190b 2a2b 2c2d 190419050000020: 1906190719081909190a b900 5f0c 00b0
0000030: 2a2b 2c2d 1904190519061907190819090000040: 190a b700 87b0
Stackmap Table:
append_frame(@48,Object[#6])
I tried downgrading ASM to 9.0 but that wasn't the issue.
Hi @jgpc42 - I upgraded to 0.5.3 for the new support for the invokespecial of a default interface method. But doing so broke generation of the classes that worked using 0.5.2. When constructing such a class, I'm getting errors like:
I tried downgrading ASM to 9.0 but that wasn't the issue.
The code to repro:
https://github.com/babashka/babashka/blob/72efde064e4e62ae847999479df31f35092c9588/reify/build/reify2.clj
The text was updated successfully, but these errors were encountered: