/[Apache-SVN]
ViewVC logotype

Revision 915499


Jump to revision: Previous Next
Author: bryanduxbury
Date: Tue Feb 23 19:06:25 2010 UTC (14 years, 8 months ago)
Changed paths: 3
Log Message:
THRIFT-713. java: Java compareTo method throws NPE when any field isn't set.

This patch fixes a somewhat egregious bug in the generated compareTo for non-union structs and avoids possible NPEs.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/lib/java/build.xml modified , text changed
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/test/CompareTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26