Possible issues with Spring's AOP class proxy with CGLIB · Issue #101 · rzwitserloot/lombok
Ok, I've finally got a repo project. I'm attaching it here. From what I understand,
the hashCode, equals and toString methods should be implemented by lombok in the
.class file generated by the compiler. So, at runtime when spring tries to use CGLIB
to create the proxy of the class, it should get lombok's implementation of the
equals, hashCode and toString, but it doesn't seem to. It looks like it's getting
the one from object instead. I've tried this with and without the overrides in the
interface (was just a test to try to narrow it down further). I've attached both tgz
& zipped versions of the same project.
This project requires the m2eclipse plugin to be installed. I also have the spring
tools installed, but I don't know that those are required to work with the project.
Read full article from Possible issues with Spring's AOP class proxy with CGLIB · Issue #101 · rzwitserloot/lombok
No comments:
Post a Comment