Isset values do not account for null values in constructor
----------------------------------------------------------

                 Key: THRIFT-152
                 URL: https://issues.apache.org/jira/browse/THRIFT-152
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (Java)
            Reporter: Bryan Duxbury
            Assignee: Bryan Duxbury


Say you have:

{code}

struct Foo {
  1: string blah
}

{code}

If you generate the Java classes for this and then do something like: 

{code}
Foo foo = new Foo(null);
{code}

Then foo.__isset.blah will be true, even though the value is actually null 
(unset).


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to