-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Some classes fail to compile when @ExtensionMethod annotation is used (Steps included) #496
Comments
👤 cord.bartlett 🕗 Oct 26, 2012 at 01:24 UTC After debugging several random compilation errors in a project of mine, I have been able to reproduce an example class that fails to compile when @ ExtensionMethod is included. It does not matter if extension methods are even called, it will still fails to compile no matter what. The example class has been simplified as much as possible, and reproduces the error every time. Tested with javac 1.7.0_05 / lombok 0.11.4 / maven 3.0.4 package example; import java.util.ArrayList; import lombok.Getter; @ ExtensionMethod(Empty.class) // does not matter whether or not we use extensions, so we'll just provide an empty class
}package example; public class Empty {}What is the expected output? What do you see instead? A stacktrace is emitted by the @ ExtensionMethod annotation processor during compilation java.lang.NullPointerException: node What version of the product are you using? On what operating system? |
👤 reinierz 🕗 Oct 29, 2012 at 21:01 UTC Reproducible with oracle java javac 1.7.0_09 on mac using the supplied example. (package is not relevant). No maven is needed, just the above example and javac -cp lombok.jar LombokExample.java |
👤 reinierz 🕗 Oct 29, 2012 at 21:23 UTC Fixed. Will be in the next release. |
👤 reinierz 🕗 Oct 30, 2012 at 00:09 UTC Now officially released in lombok v0.11.6. |
End of migration |
Migrated from Google Code (issue 423)
The text was updated successfully, but these errors were encountered: