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

[Verifier:Old] The result of verification pass 2 is undefined

    XMLWordPrintable

    Details

    • Subcomponent:
      vm
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Name: akC45999 Date: 07/15/99

      The Java Virtual Machine Specification, 5.4.1 Verification reads:

      The representation of a class or interface is verified to ensure that its
      binary representation is structurally valid (passes 2 and 3 of 4.9.1).
      ...

      Verification must detect the following error:

           If the representation of the class or interface does not satisfy the static or
           structural constraints listed in Section 4.8, "Constraints on Java Virtual
           Machine Code," verification throws a VerifyError.

      (end of citation).

      But Section 4.8 describes constraints on Code attribute, which are checked
      on pass 3. What should be thrown if pass 2 failed, is not defined.

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abuckley Alex Buckley
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: