Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1471

Jute generates invalid C++ code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.3
    • 3.4.4, 3.5.0
    • jute
    • None
    • Reviewed

    Description

      There are 2 issues with the current jute generated C++ code.

      1. Variable declaration for JRecord is incorrect. It looks something like this:

       
          Id id;
      

      It should be like this instead:

       
       org::apache::zookeeper::data::Id mid;
      

      2. The header file declares all the variables (except for JRecord ones) with "m" prefix, but the .cc file doesn't use the prefix.

      Attachments

        1. ZOOKEEPER-1471.patch
          3 kB
          Michi Mutsuzaki

        Activity

          People

            michim Michi Mutsuzaki
            michim Michi Mutsuzaki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: