summaryrefslogtreecommitdiff
path: root/Examples/test-suite/java_throws.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/java_throws.i')
-rw-r--r--Examples/test-suite/java_throws.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/java_throws.i b/Examples/test-suite/java_throws.i
index 67d8d4ebc..7463fee83 100644
--- a/Examples/test-suite/java_throws.i
+++ b/Examples/test-suite/java_throws.i
@@ -183,7 +183,7 @@ try {
// Need to handle the checked exception in NoExceptTest.delete()
%typemap(javafinalize) SWIGTYPE %{
- @SuppressWarnings("deprecation")
+ @SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
try {
delete();