You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/06/30 13:02:45 UTC

[jira] [Commented] (ZOOKEEPER-1471) Jute generates invalid C++ code

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404448#comment-13404448 ] 

Hudson commented on ZOOKEEPER-1471:
-----------------------------------

Integrated in ZooKeeper-trunk #1600 (See [https://builds.apache.org/job/ZooKeeper-trunk/1600/])
    ZOOKEEPER-1471. Jute generates invalid C++ code (Michi Mutsuzaki via phunt) (Revision 1355653)

     Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355653
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/jute/compiler/JRecord.java

                
> Jute generates invalid C++ code
> -------------------------------
>
>                 Key: ZOOKEEPER-1471
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1471
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: jute
>    Affects Versions: 3.4.3
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1471.patch
>
>
> There are 2 issues with the current jute generated C++ code.
> 1. Variable declaration for JRecord is incorrect. It looks something like this:
> {code} 
>     Id id;
> {code}
> It should be like this instead:
> {code} 
>  org::apache::zookeeper::data::Id mid;
> {code}
> 2. The header file declares all the variables (except for JRecord ones) with "m" prefix, but the .cc file doesn't use the prefix. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira