-
Notifications
You must be signed in to change notification settings - Fork 4
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
Working test case undet intellij #1
Conversation
@laurentperez When I run the test in IntelliJ, it fails due to the thrown exception not getting caught by my aspect. I changed the compiler to use Javac and those are the results I get. Lombok appears to work fine though. When I run it on the command-line, everything seems to work fine, but I see the following warning about an unsupported compiler for Lombok. Do you get the same results?
|
@wrporter yes, same results, my bad. under cmdline the warnings do not matter : lombok still works (the id/toString works) and the aspect applies (the "Aspect" lines). But under intellij, because of Javac instead of Ajc the aspect does not applies, does not catch, so the RuntimeException crashes the test. So it's back to square one, indeed. Under intellij we can't have both lombok+aspects under the same project under Ajc. That's why I revived the zombie thread. My "solution" was to bluntly remove lombok from my aspect projects. Writing my own accessors, toString/equals/hashcode/builder is acceptable. |
Intellij defaults to Ajc compiler when it sees the aspect, you need to set its compiler back to Javac because lombok does not support Ajc