<html>
    <head>
      <base href="http://www.jacorb.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can no longer name an exception Timeout if it has a data member"
   href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=992">992</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can no longer name an exception Timeout if it has a data member
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>JacORB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.5
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>IDL compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>jacorb-bugs@lists.spline.inf.fu-berlin.de
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>David.Rodenbaugh@digitalglobe.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Starting with JacORB 2.3.1 and thru 3.5, I found that I can no longer define an
exception called "Timeout" in idl that has a data member.
The generated code will not compile.
The problem goes away if I rename the exception something other than "Timeout".
It also goes away if I remove the data member, in this case "long id;".
Does this sound like a bug or is "Timeout" a reserved name?

   exception Timeout
   {
      long id;
   };

    [javac] Compiling 2 source files to /home/davidr/crss2/build/classes
    [javac] TimeoutHelper.java:62: cannot find symbol
    [javac] symbol  : constructor Timeout(java.lang.String,int)
    [javac] location: class Timeout
    [javac]             final Timeout result = new Timeout(id, x0);
    [javac]                                    ^
    [javac] TimeoutHelper.java:68: cannot find symbol
    [javac] symbol  : variable id
    [javac] location: class Timeout
    [javac]             out.write_long(s.id);
    [javac]                             ^
    [javac] 2 errors</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>