Closed GoogleCodeExporter closed 9 years ago
Yup, that makes sense, will fix that :) thanks!
Original comment by samuel.a...@gmail.com
on 1 Aug 2012 at 1:03
You are welcome.
Original comment by bid...@gmail.com
on 1 Aug 2012 at 11:27
Actually this looks more correct IMO:
if ((obj == null || (obj.isNull() && obj.getClass() == getClass()) && isNull()) {
return true;
} ...
What do you think?
Original comment by samuel.a...@gmail.com
on 1 Aug 2012 at 12:06
Whoops, and this:
} else if (obj == null || obj.getClass() != getClass()) {
return false;
} ...
Hum, doesn't look entirely right though. I'll have to think a bit more about
that
Original comment by samuel.a...@gmail.com
on 1 Aug 2012 at 12:09
Ak, now this looks right:
if (obj == null) {
return isNull();
} else if (obj.getClass() != getClass()) {
return false;
} else ...
Let me know if you have any issues with that! thanks
Original comment by samuel.a...@gmail.com
on 1 Aug 2012 at 12:13
That should work. When obj is null, it was crashing on Android trying to access
getClass(). I forgot to mention that earlier.
Original comment by bid...@gmail.com
on 1 Aug 2012 at 12:39
It's in JavaCPP 0.3! Let me know if there are still some issues.
Original comment by samuel.a...@gmail.com
on 5 Nov 2012 at 11:16
Original issue reported on code.google.com by
bid...@gmail.com
on 31 Jul 2012 at 6:59