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

JCK: class file format test fails because JPI doesn't check file version

    XMLWordPrintable

Details

    • rc1
    • generic
    • generic

    Description



      Name: viR10068 Date: 11/15/2001

      As it is stated in the description of the bug 4516663 the plugin
      should check the version of class file format and change behavior
      accordingly: JPI should not fix bytecode problems "on the fly"
      for class files of formats 46.0 and greater (starting from jdk 1.2)
      and should throw exception based on JVMS ed2.
      However, Merlin JPI (build 1.4.0-rc-b85) does not take into account
      class file format version: it fixes some bytecode problems "on the fly"
      in the case of format 46.0 as well as in the case of format 45.3.
      To reproduce this bug JCK tests listed below should be run under plugin.

      This issue is critical for compatibility testing.

      JCK vm tests which failed due to this bug:
      vm/classfmt/vrf/c_pool201/c_pool20101m1/c_pool20101m1.html
      vm/classfmt/mth/mthacc005/mthacc00501m1/mthacc00501m1.html
      vm/classfmt/cpl/cplmbr033/cplmbr03301m1/cplmbr03301m1.html
      vm/classfmt/cpl/cplnat004/cplnat00402m1/cplnat00402m1.html
      vm/classfmt/fld/fldacc004/fldacc00401m1/fldacc00401m1.html
      vm/classfmt/atr/atrinc201/atrinc20101m1/atrinc20101m1.html

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

      Attachments

        Activity

          People

            stanleyh Stanley Ho (Inactive)
            vivsunw Viv Viv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: