/[Apache-SVN]
ViewVC logotype

Revision 719727


Jump to revision: Previous Next
Author: dreiss
Date: Fri Nov 21 21:55:52 2008 UTC (15 years, 5 months ago)
Changed paths: 1
Log Message:
THRIFT-142. java: Better handling of required fields

- On reading, behave the same way as the C++ code:
  throw an exception if a required field is missing.
- In addition, throw an exception if a required field is missing
  when writing.  For the JavaBeans code, this means that __isset
  is false (because it is maintained automatically).  For non-beans
  code, this means that the field is null.  Non-nullable fields are
  not checked in non-beans code.


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26