Skip to content

Commit

Permalink
Remove unused JVM_Exit() function
Browse files Browse the repository at this point in the history
The final mention (the declaration) is removed by
* 8287132: Retire Runtime.runFinalizersOnExit so that it always throws
UOE

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
  • Loading branch information
keithc-ca committed Aug 29, 2022
1 parent c14fe74 commit 0ec88e7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion runtime/j9vm/exports.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ jvm_add_exports(jvm
_JVM_DefineClass@24
_JVM_DefineClassWithSourceCond@32
_JVM_EnqueueOperation@20
_JVM_Exit@4
_JVM_GetCPFieldNameUTF@12
_JVM_GetClassConstructor@16
_JVM_GetClassConstructors@12
Expand Down
7 changes: 0 additions & 7 deletions runtime/j9vm/j7vmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2761,13 +2761,6 @@ JVM_EnqueueOperation(jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
return NULL;
}

jobject JNICALL
JVM_Exit(jint arg0)
{
assert(!"JVM_Exit() stubbed!");
return NULL;
}

jobject JNICALL
JVM_GetCPFieldNameUTF(jint arg0, jint arg1, jint arg2)
{
Expand Down
1 change: 0 additions & 1 deletion runtime/j9vm/j9vmnatives.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-excepti
<export name="_JVM_DefineClass@24"/>
<export name="_JVM_DefineClassWithSourceCond@32"/>
<export name="_JVM_EnqueueOperation@20"/>
<export name="_JVM_Exit@4"/>
<export name="_JVM_GetCPFieldNameUTF@12"/>
<export name="_JVM_GetClassConstructor@16"/>
<export name="_JVM_GetClassConstructors@12"/>
Expand Down
1 change: 0 additions & 1 deletion runtime/redirector/forwarders.m4
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ _IF([JAVA_SPEC_VERSION < 17],
_X(JVM_DefineClass,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
_X(JVM_DefineClassWithSourceCond,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7)
_X(JVM_EnqueueOperation,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
_X(JVM_Exit,JNICALL,true,jobject,jint arg0)
_X(JVM_GetCPFieldNameUTF,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2)
_X(JVM_GetClassConstructor,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2, jint arg3)
_X(JVM_GetClassConstructors,JNICALL,true,jobject,jint arg0, jint arg1, jint arg2)
Expand Down

0 comments on commit 0ec88e7

Please sign in to comment.