Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4504275

CORBA boolean type unions do not generate compilable code from idlj

    XMLWordPrintable

Details

    • b89
    • x86
    • linux, windows_nt
    • Not verified

    Backports

      Description

        Name: bsT130419 Date: 09/18/2001


        $ java -version
        java version "1.4.0-beta2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
        Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

        The java code generated from an idl union where the switch is the boolean type
        will not compile with javac. The following example IDL will compile java code
        with idlj, but when we run the java code through javac it fails with syntax
        errors.
        --- example IDL follows --------------
        module xyz
        {
                union LongTypeOpt switch (boolean) {
                        case TRUE: long value;
                };

        };
        (Review ID: 132062)
        ======================================================================
        ###@###.### 11/2/04 18:27 GMT

        Attachments

          Issue Links

            Activity

              People

                dmeetry Dmeetry Degrave (Inactive)
                bstrathesunw Bill Strathearn (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: