You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2021/11/04 22:53:00 UTC

[jira] [Created] (CXF-8615) Remove/Replace finalizers usage with Cleaners

Andriy Redko created CXF-8615:
---------------------------------

             Summary: Remove/Replace finalizers usage with Cleaners
                 Key: CXF-8615
                 URL: https://issues.apache.org/jira/browse/CXF-8615
             Project: CXF
          Issue Type: Improvement
            Reporter: Andriy Redko
            Assignee: Andriy Redko


The JDK18 will deprecate finalizers for removal [1], in CXF there are few places where finalizers are being used and should be replaced by cleaners [2] (or removed altogether).

 

[1] [https://openjdk.java.net/jeps/421
[2] https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/Cleaner.html |https://openjdk.java.net/jeps/421]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)