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

contradiction in the invokespecial instruction definition

    XMLWordPrintable

    Details

    • Subcomponent:
      vm
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description



      Name: szC45993 Date: 05/13/98



      The invokespecial instruction definition in 6 chapter The Java
      Virtual Machine Instruction Set says:
      "...

       Linking Exceptions

         During resolution of the symbolic reference to the method, any of the exceptions
         pertaining to method resolution documented in ?5.4.3c can be thrown.
      ...
         Otherwise, if no method matching the resolved name and descriptor is selected,
         invokespecial throws an AbstractMethodError."

      These two assertions contradict each other because
      the following is said in ?5.4.3c Method Resolution:

      "If method lookup fails, method resolution throws a NoSuchMethodError."

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: