Open GoogleCodeExporter opened 8 years ago
Mixing primitive/wrapper types actually means that it's not one 'property';
even though a Java 5+ compiler could usually handle this particular case with
auto-boxing, we're using javassist which requires java 1.4 source format.
I think that to solve this problem (in general) we'd have to implement support
for dual-typed properties; from javassist perspective, long/Long is just as
different as String/Long...
Original comment by matt.deb...@gmail.com
on 9 Mar 2014 at 4:06
Well, I undestand and even share the javassist's perspective :) I've seen
couple of times that a newbie "hangs" for an hours with a "strange" NPE with
such getter/setter pair )
Dual-typed properties for this case sounds like over-engeenering for me. If its
simple to add hard code for corner case "primitive-wrapper" (maybe warn user
also?) - I'd vote for fixing - it just may save somebody's time and prove
framework maturity. If its hard to implement... well... leave it.
Original comment by alex.che...@gmail.com
on 10 Mar 2014 at 5:07
Original issue reported on code.google.com by
alex.che...@gmail.com
on 22 Feb 2014 at 2:19