-
Notifications
You must be signed in to change notification settings - Fork 375
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
ClassFormatError when processors passed to Reflect.compile() produce new source files #81
Comments
Hi, @lukaseder!
Tested on Java 13, as you can see.
|
Thanks, @jbreathe. Perhaps it's the same error, perhaps it isn't. To be sure, would you mind creating a new issue with a full example on how to reproduce this? |
Sure, @lukaseder! |
I'm having the same error as @lukaseder. Will probably fork and try to solve it. |
Same problem here ("java.lang.ClassFormatError: Incompatible magic value") while trying to test an annotation processor. It seems that the source code generated by the annotation processor is interpreted as byte code. In ByteArrayClassLoader the |
I'm developing an annotation processor which should create a new source file for each annotated class and facing the same issue when trying to use jOOR in tests:
I guess the new source files should get compiled before the class can be loaded. |
When a processor passed to
Reflect.compile()
attempts to produce new source files, we get the following error:The text was updated successfully, but these errors were encountered: