jOOQ / jOOR

jOOR - Fluent Reflection in Java jOOR is a very simple fluent API that gives access to your Java Class structures in a more intuitive way. The JDK's reflection APIs are hard and verbose to use. Other languages have much simpler constructs to access type meta information at runtime. Let us make Java reflection better.
http://www.jooq.org/products
Apache License 2.0
2.8k stars 377 forks source link

Cannot compile inherited classes #97

Closed gabrielps closed 4 years ago

gabrielps commented 4 years ago

I'm designing a Processor that will generate some test classes. These generated classes will extend an actual non final test class. I'm using jOOR to test the processor.

After a few debug sessions, I was able to determine that the classes are loaded in some kind of order that may not take into account inheritance: https://github.com/jOOQ/jOOR/blob/1e6b04b2086ea0f4341e36753c7b523746f7a3d9/jOOR-java-8/src/main/java/org/joor/Compile.java#L240

lukaseder commented 4 years ago

Thank you for your report.

Can you please show an example of what is currently failing? Or even better, a test case.

gabrielps commented 4 years ago

It is a duplicate of #81. The subclass was a generated class of the compiled one.