Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The System.runFinalizersOnExit() method is used in this noncompliant example to simulate a garbage collection run (note that this method is deprecated because of thread-safety issues MET36-J. Do not use deprecated or obsolete methods).

Wiki Markup
According to the Java API \[[API 06|AA. Java References#API 06]\] class {{System}}, {{runFinalizersOnExit()}} method documentation:

...