Open GoogleCodeExporter opened 9 years ago
Can you specify the exact version number of javac?
Original comment by r.spilker
on 4 Mar 2013 at 8:43
$ java -version
java version "1.7.0_12-ea"
Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b08)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b28, mixed mode)
Original comment by egor@technoparkcorp.com
on 4 Mar 2013 at 9:29
$ javac -version
javac 1.7.0_12-ea
Original comment by egor@technoparkcorp.com
on 4 Mar 2013 at 9:29
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:
http://projectlombok.org/download-edge.html
Original comment by reini...@gmail.com
on 18 Mar 2013 at 11:04
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.
Original comment by reini...@gmail.com
on 18 Mar 2013 at 11:05
I can replicate it here with ToString
I'm using jdk 7u17 from sun/oracle though
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)
Original comment by lamsh...@gmail.com
on 12 Apr 2013 at 8:42
Could this be a JDK 64bit bug?
Original comment by uimffr...@googlemail.com
on 26 Aug 2014 at 1:22
Original issue reported on code.google.com by
egor@technoparkcorp.com
on 3 Mar 2013 at 4:49