[
https://issues.apache.org/jira/browse/THRIFT-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury updated THRIFT-152:
---------------------------------
Patch Info: [Patch Available]
> 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
> Priority: Critical
> Attachments: thrift-152.patch
>
>
> 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.