changeset 16997:2c28af3a1e5d

8177682: Suppress removal warning for System.runFinalizersOnExit Reviewed-by: mchung, smarks
author darcy
date Thu, 13 Apr 2017 11:08:52 -0700
parents 5bfdd4e83008
children 2b4bacfcbe17
files src/java.base/share/classes/java/lang/System.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/System.java	Thu Apr 13 11:05:48 2017 -0700
+++ b/src/java.base/share/classes/java/lang/System.java	Thu Apr 13 11:08:52 2017 -0700
@@ -1764,6 +1764,7 @@
      * @since   1.1
      */
     @Deprecated(since="1.2", forRemoval=true)
+    @SuppressWarnings("removal")
     public static void runFinalizersOnExit(boolean value) {
         Runtime.runFinalizersOnExit(value);
     }