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

Consolidate copies of getClassBytes in various tests

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      There are several tests with the same copy of getClassBytes to read a class file for ClassLoader tests. I've been cut/pasting this copy into new tests. These should call the version in ClassUnloadCommon, which also should be fixed to not depend on the location of the test.classes property.

      Also move ClassUnloadCommon.java and ClassWithManyMethodsClassLoader.java from test/hotspot/jtreg/runtime/testlibrary to test/lib/jdk/test/lib/classloader so we don't need @library /runtime/testlibrary and /test/lib.



        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: