--- old/src/share/native/java/lang/Shutdown.c 2020-01-30 06:24:36.432098666 +0000 +++ new/src/share/native/java/lang/Shutdown.c 2020-01-30 06:24:36.140103121 +0000 @@ -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 @@ -29,6 +29,11 @@ #include "java_lang_Shutdown.h" +JNIEXPORT void JNICALL +Java_java_lang_Shutdown_beforeHalt(JNIEnv *env, jclass ignored) +{ + JVM_BeforeHalt(); +} JNIEXPORT void JNICALL Java_java_lang_Shutdown_halt0(JNIEnv *env, jclass ignored, jint code)