[
https://issues.apache.org/jira/browse/ZOOKEEPER-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michi Mutsuzaki updated ZOOKEEPER-1471:
---------------------------------------
Attachment: ZOOKEEPER-1471.patch
> 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.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