I just wanted to start the conversation to see what the best way forward
is. After building there is the following warnings

WARNING]
nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3775,19]
[removal] finalize() in Object has been deprecated and marked for removal
[WARNING]
nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3777,13]
[removal] finalize() in Object has been deprecated and marked for removal
[WARNING]
nifi/nifi-extension-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/AbstractCacheServer.java:[113,19]
[removal] finalize() in Object has been deprecated and marked for removal

The Java 21 javadocs has suggestions here
<https://docs.oracle.com/en/java/javase/21//docs/api/java.base/java/lang/Object.html#finalize()>.
I am not sure which is the most desirable. Please advise.

Reply via email to