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:54:00 UTC
[jira] [Updated] (CXF-8615) Remove/Replace finalizers usage with
Cleaners
[ https://issues.apache.org/jira/browse/CXF-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andriy Redko updated CXF-8615:
------------------------------
Description:
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], [3] (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
[3] https://bugs.openjdk.java.net/browse/JDK-8253568 |https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/Cleaner.html]
was:
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]
> 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
> Priority: Major
>
> 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], [3] (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
> [3] https://bugs.openjdk.java.net/browse/JDK-8253568 |https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/Cleaner.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)