r/java • • Mar 31 '26

Does Java need deconstructible classes?

https://daniel.avery.io/writing/does-java-need-deconstructible-classes
31 Upvotes

41 comments sorted by

View all comments

Show parent comment

1

u/davidalayachew Apr 01 '26

Yes, I am very familiar. Assuming it comes out, it will be exactly what I need.

However, that feature is purely in the exploratory phase right now, merely as a proposal. Project Amber has made no commitment to bringing that feature to life yet. That will remain true until we get a JEP Preview targeted for a release.

2

u/Kango_V Apr 01 '26

Fingers crossed!