You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/02/05 22:43:59 UTC

[jira] Created: (THRIFT-317) Issues with Java struct validation

Issues with Java struct validation
----------------------------------

                 Key: THRIFT-317
                 URL: https://issues.apache.org/jira/browse/THRIFT-317
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (Java), Library (Java)
            Reporter: Bryan Duxbury


The generated validate() methods don't call validate() on their child structs directly. Instead, they wait until the child structs' write() method is called. This could lead to structs being partially written to the wire before encountering an invalid substruct. Additionally, users calling validate() directly would not get the expected behavior.

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


[jira] Assigned: (THRIFT-317) Issues with Java struct validation

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury reassigned THRIFT-317:
------------------------------------

    Assignee: Bryan Duxbury

> Issues with Java struct validation
> ----------------------------------
>
>                 Key: THRIFT-317
>                 URL: https://issues.apache.org/jira/browse/THRIFT-317
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java), Library (Java)
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.3
>
>
> The generated validate() methods don't call validate() on their child structs directly. Instead, they wait until the child structs' write() method is called. This could lead to structs being partially written to the wire before encountering an invalid substruct. Additionally, users calling validate() directly would not get the expected behavior.

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


[jira] Updated: (THRIFT-317) Issues with Java struct validation

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated THRIFT-317:
---------------------------------

    Fix Version/s: 0.2

> Issues with Java struct validation
> ----------------------------------
>
>                 Key: THRIFT-317
>                 URL: https://issues.apache.org/jira/browse/THRIFT-317
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java), Library (Java)
>            Reporter: Bryan Duxbury
>             Fix For: 0.2
>
>
> The generated validate() methods don't call validate() on their child structs directly. Instead, they wait until the child structs' write() method is called. This could lead to structs being partially written to the wire before encountering an invalid substruct. Additionally, users calling validate() directly would not get the expected behavior.

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