-
-
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
com.sun.tools.javac.tree.JCTree$JCTypeApply cannot be cast to com.sun.tools.javac.tree.JCTree$JCArrayTypeTree #530
Comments
👤 egor@technoparkcorp.com 🕗 Mar 03, 2013 at 16:49 UTC This code: {{{ Leads to (with OpenJDK 7): {{{ |
👤 r.spilker 🕗 Mar 04, 2013 at 08:43 UTC Can you specify the exact version number of javac? |
👤 egor@technoparkcorp.com 🕗 Mar 04, 2013 at 09:29 UTC $ java -version |
👤 egor@technoparkcorp.com 🕗 Mar 04, 2013 at 09:29 UTC $ javac -version |
👤 reinierz 🕗 Mar 18, 2013 at 23:04 UTC This is not reproducible for us (but we don't have an openjdk 1.7.0_12-ea lying around). Looking at line 207, this would happen if you have a method named .getArguments() which returns an array. We fixed that in edge, can you download that and see if this problem still occurs for you? edge is at: |
👤 reinierz 🕗 Mar 18, 2013 at 23:05 UTC NB: Also, just so you know, if you have a field named arguments and a method named .getArguments(), then toString() and equals() and hashCode() will all use .getArguments() instead, and thus also whatever type that method returns. Just FYI. You can override this behaviour with an argument on @ ToString and company. |
👤 lamshing 🕗 Apr 12, 2013 at 08:42 UTC I can replicate it here with ToString I'm using jdk 7u17 from sun/oracle though java version "1.7.0_17" |
👤 uimffr129 🕗 Aug 26, 2014 at 13:22 UTC Could this be a JDK 64bit bug? |
End of migration |
* added example for issue projectlombok#512 * fix removing of field annotations during delombok * cleanup code * added to changelog projectlombok#530 * added support for ImplicitResourceCloser extension point for @cleanup projectlombok#287 * master is now for: up from 2018.1 IntelliJ builds
i have this problem: |
@melany-chavez-17 I guess you switched to JDK21 and did not used the latest versin of lombok. |
Closing this issue, too old to still be relevant |
Migrated from Google Code (issue 457)
The text was updated successfully, but these errors were encountered: