Suppress a deprecation warning for Object.finalize
The API is deprecated starting in JDK 9: https://bugs.openjdk.java.net/browse/JDK-8165641 PiperOrigin-RevId: 316587198 Change-Id: Icafed5879fd50973e955522a176aa11a8773090b
This commit is contained in:
parent
2f45ee867d
commit
0292d384f8
|
@ -507,6 +507,8 @@ public final class Interpreter implements AutoCloseable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// for Object.finalize, see https://bugs.openjdk.java.net/browse/JDK-8165641
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
protected void finalize() throws Throwable {
|
protected void finalize() throws Throwable {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue