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

Valuetype supporting any number of abstract interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • merlin
    • sparc
    • solaris_7
    • Not verified

        As per formal/99-10-07, sec 3.8.5,

        "Values may be derived from other values and can support an interface and any number of abstract interfaces".

        The last part of supporting any number of abstract interfaces is reported as an error by IDLJ compiler in merlin b30. The idl file and it's compilation is given below:

        /home/arung/workarea/test-area/idl 2429 $ more animal.idl
        abstract interface A { };

        abstract interface B { };

        abstract interface C { };

        valuetype ABC supports A, B, C {
        };

        /home/arung/workarea/test-area/idl 2430 $ /usr/local/java/jdk1.4/solaris/bin/idlj animal.idl
        animal.idl (line 7): Expected `{'; encountered `,'.
        valuetype ABC supports A, B, C {
                                ^
        /home/arung/workarea/test-area/idl 2431 $

        ********************************************************************************
        ###@###.### 2001-08-17

        - Fix verified ok
          1) with build: j2sdk-1_4_0-beta_refresh-bin-b76-solsparc-15_aug_2001
          2) with test: /tests/product/valuetypes/bugs/bug_4367730

        - I am using muthu's id to verify & close the bugs since i didn't get the id yet.
        ********************************************************************************

              kcavanauorcl Ken Cavanaugh (Inactive)
              arungup Arun Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: