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

Use jcod rather than jar files in runtime tests

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      There are still a few jar files in the runtime tests. These should use jcod or jasm instead, so there aren't binaries in the repository.

      There are these:

      ./LoadClass/dummy.jar
      ./duplAttributes/test.jar
      ./EnclosingMethodAttr/enclMethodAttr.jar
      ./LocalVariableTable/testcase.jar
      ./ClassFile/JsrRewritingTestCase.jar
      ./ClassFile/testcase.jar
      ./7116786/testcases.jar
      ./classFileParserBug/emptynumbootstrapmethods.jar
      ./classFileParserBug/test.jar

      The LoadClass/dummy.jar is testing a bad jar file, and the ClassFile/*.jar files are testing for OOM, so the .jcod file is larger than the .jar file. The other jar files can be replaced with jcod files and compiled by jtreg.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: