Skip to content

Commit 7cb49c7

Browse files
committed
Fix style
1 parent fee3d99 commit 7cb49c7

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/CApiContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ private void addNativeFinalizer(Env env, Object resetFunctionPointerArray) {
901901
* is allowed to run guest code. Hence, we deallocate any reachable native object here since
902902
* they may have custom {@code tp_dealloc} functions.
903903
*/
904+
@SuppressWarnings("try")
904905
public void exitCApiContext() {
905906
CompilerAsserts.neverPartOfCompilation();
906907
/*
@@ -917,6 +918,7 @@ public void exitCApiContext() {
917918
}
918919
}
919920

921+
@SuppressWarnings("try")
920922
public void finalizeCApi() {
921923
CompilerAsserts.neverPartOfCompilation();
922924
HandleContext handleContext = getContext().nativeContext;

0 commit comments

Comments
 (0)