JDI: System.runFinalizersOnExit(true): Unable to hit breakpoint in finalize()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.3.1
    • Component/s: core-svc
    • None
    • x86
    • windows_nt

      package test;

      public class Untitled21 {
          public Untitled21 () {
              System.out.println("constructor");
          }

          protected void finalize() {
              System.out.println("finalizing Untitled21"); // add breakpoint here!!
          }

          public static void main(String args[]) {
              new Untitled21 ();
              System.out.println("bye");
              System.runFinalizersOnExit(true);
          }
      }

            Assignee:
            Tim Bell
            Reporter:
            Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: