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

Use jcod rather than jar files in runtime tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • None
    • b12

      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.

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

              Created:
              Updated:
              Resolved: