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

Description of invokeinterface instruction is not full.

    XMLWordPrintable

    Details

    • Subcomponent:
      vm
    • Resolved In Build:
      1.2fcs
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description



      Name: akC45999 Date: 12/05/97




      The section 6.4 "Java Virtual Machine Instruction Set" of JVM spec says nothing
      on issue of what must occur when objectref references an instance of the class
      which does not implement the interface referenced in the intruction, i.e.:


      public super class test009 // implements nothing
      {
      ...
      new class test009;
      dup;
      invokespecial Method "<init>":"()V";
      invokeinterface InterfaceMethod java/lang/Runnable.run:"()V", 1;
      ...
      }

      I noticed jdk1.1 throws in such a case an IncompatibleClassChangeError.

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            gbrachasunw Gilad Bracha (Inactive)
            Reporter:
            rfqsunw Rfq Rfq (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: