JDK-4754974 : idlj does not support forward declaration of struct and unions
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_1
  • CPU: sparc
  • Submitted: 2002-09-27
  • Updated: 2004-04-12
  • Resolved: 2004-12-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 beta2Fixed
Description
*******************************************************************************

###@###.### 2002-09-27

build - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)

Problem description :
idlj does not support forward declaration of struct and unions. 
see section 3.11.2.3 (orbrev 02-02-01) 


typecode/new> cat s.idl
struct Foo;

typedef sequence<Foo> FooSeq;

struct Foo {
        long value;
        FooSeq chain;
};

typecode/new> idlj s.idl
s.idl (line 1):  Expected `{'; encountered `;'.
struct Foo;
          ^
s.idl (line 5):  Foo has already been declared.
struct Foo {
           ^
typecode/new>

*******************************************************************************

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-beta2
14-06-2004

EVALUATION Will investigate later for Tiger. Possible bug in pigeonhole() code?
11-06-2004