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

Consolidate copies of getClassBytes in various tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b14

      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.



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

              Created:
              Updated:
              Resolved: