Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Closed
Description
Detailed description
Java Finalize Class is a removal candidate in JDK 18 (link) and when I compiling OpenCV there are a lot of warnings about it.
[javac] /Users/user/build/modules/java/jar/opencv/java/org/opencv/core/Mat.java:755: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] protected void finalize() throws Throwable { [javac] ^ [javac] /Users/user/build/modules/java/jar/opencv/java/org/opencv/core/Mat.java:757: warning: [removal] finalize() in Object has been deprecated and marked for removal [javac] super.finalize(); [javac] ^Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found any solution - I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc