mbien opened a new issue, #5440:
URL: https://github.com/apache/netbeans/issues/5440

   ### Body
   
   the finalization mechanism is deprecated for removal. NetBeans is still 
using it occasionally.
   
   Usage must be replaced with alternatives like for example the Java 9 
[Cleaner 
API](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/Cleaner.html)
 where needed.
   
   JDP: https://openjdk.org/jeps/421
   
   there is a command line flag which simplifies testing during the transition 
period:
   ```
   Finalization remains enabled by default in JDK 18. 
     A new command-line option --finalization=disabled disables finalization. 
     A JVM launched with --finalization=disabled will not run any finalizers — 
not even those declared within the JDK itself.
   ```
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer in the Apache NetBeans 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to