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
I suspect this is due to Procyon emitting classes in Java 5 format, which doesn't support static interface methods. Emitting newer classfiles is, unfortunately, quite an undertaking.
Have you considered migrating the runtime code generation part to ASM, or maybe make the code generation classes pluggable, so that it is possible to provide a different implementation of TypeBuilder (or emitter)?
I use Procyon mainly for the reflection and expressions features (which are great), the runtime code generation is the cherry on top, but I wouldn't mind if it was delegated to an external library.
Trying to invoke the static generic method
produces an "Illegal type in constant pool" error during the lambda class generation.
Below the test case I am using:
Attached the generated class (zipped).
lambda_mapOf.zip
The text was updated successfully, but these errors were encountered: