src/java.base/share/native/libjava/Shutdown.c
changeset 48942 a6c4b85163c1
parent 47216 71c04702a3d5
child 49186 b8bfadfacded
--- a/src/java.base/share/native/libjava/Shutdown.c	Fri Feb 23 14:26:29 2018 -0500
+++ b/src/java.base/share/native/libjava/Shutdown.c	Fri Feb 23 12:10:56 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -35,17 +35,3 @@
 {
     JVM_Halt(code);
 }
-
-
-JNIEXPORT void JNICALL
-Java_java_lang_Shutdown_runAllFinalizers(JNIEnv *env, jclass ignored)
-{
-    jclass cl;
-    jmethodID mid;
-
-    if ((cl = (*env)->FindClass(env, "java/lang/ref/Finalizer"))
-        && (mid = (*env)->GetStaticMethodID(env, cl,
-                                            "runAllFinalizers", "()V"))) {
-        (*env)->CallStaticVoidMethod(env, cl, mid);
-    }
-}