From 9bb9c7387748837084299288f9b533d2139d98ed Mon Sep 17 00:00:00 2001 From: Paul Singleton Date: Mon, 6 Nov 2023 18:24:00 +0000 Subject: [PATCH] Update atom_t.java suppress deprecation/removal warnings with JDK18+ --- src/main/java/org/jpl7/fli/atom_t.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jpl7/fli/atom_t.java b/src/main/java/org/jpl7/fli/atom_t.java index 4ddb8b41..c03b6f8e 100644 --- a/src/main/java/org/jpl7/fli/atom_t.java +++ b/src/main/java/org/jpl7/fli/atom_t.java @@ -46,6 +46,7 @@ public String toString() { return Prolog.atom_chars(this); } + @SuppressWarnings({"deprecation","removal"}) protected void finalize() throws Throwable { super.finalize(); Prolog.unregister_atom(this);