Fix test code to not get finalizer deprecation warnings

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: hotspot
    • b15


      test/hotspot/jtreg/vmTestbase/nsk/share/ClassUnloader.java:308: warning: [removal] runFinalization() in System has been deprecated and marked for removal
                      System.runFinalization();
                            ^
      and

      test/hotspot/jtreg/vmTestbase/nsk/share/CustomClassLoader.java:141: warning: [removal] finalize() in Object has been deprecated and marked for removal
          protected void finalize() throws Throwable {


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

              Created:
              Updated:
              Resolved: