Thanks again, Muneer. My conversation with the open-jdk list is linked
from https://issues.apache.org/jira/browse/DERBY-6932. That issue will
track the non-trivial work required to re-factor Derby's finalizers and
migrate them to the Cleaner-based pattern. In the meantime, I have
suppressed the finalizer deprecation warnings so that Derby will
continue to compile cleanly under JDK 9.
Thanks,
-Rick
On 5/2/17 7:37 AM, Muneer Kolarkunnu wrote:
Hi Rick,
I have been asked if you could address your query to core-libs-dev
mailing list, this will of benefit to you and the community ?
Regards,
Muneer
*From:*Muneer Kolarkunnu
*Sent:* Tuesday, May 02, 2017 3:02 PM
*To:* Rick Hillegas
*Cc:* Dalibor Topic; Balchandra Vaidya; Rory O'Donnell;
derby-dev@db.apache.org
*Subject:* RE: JDK 9 EA Build 167 and JDK 8u152 build 03 are available
on jdk.java.net
Hi Rick,
We will look into this and get back to you.
Regards,
Muneer
*From:*Rick Hillegas [mailto:rick.hille...@gmail.com]
*Sent:* Sunday, April 30, 2017 12:38 AM
*To:* Rory O'Donnell; derby-dev@db.apache.org
<mailto:derby-dev@db.apache.org>
*Cc:* Dalibor Topic; Balchandra Vaidya; Muneer Kolarkunnu
*Subject:* Re: JDK 9 EA Build 167 and JDK 8u152 build 03 are available
on jdk.java.net
Thanks, Rory. When I compile Derby using JDK 9 build 167, I see
several instances of the following warning:
warning: [deprecation] finalize() in Object has been deprecated
The javadoc for java.lang.Object.finalize() suggests that affected
classes should migrate their finalization to a coding pattern based on
the newly introduced java.lang.ref.Cleaner class. I am hesitant to try
my hand at this without more guidance. Can you point me at a tutorial
or list of best practices for implementing Cleaner-based finalization?
Thanks,
-Rick
On 4/28/17 2:33 AM, Rory O'Donnell wrote:
Hi Rick,
*JDK 9 Early Access* build 167 is available at the new location
: - jdk.java.net/9/ <http://jdk.java.net/9/>
A summary of all the changes in this build are listed here
<http://download.java.net/java/jdk9/changes/jdk-9+167.html>. One
change that maybe of interest is :
* JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage
Collector [1]
*JDK 8u152 Early Access* build 03 is available at the new location
: - jdk.java.net/8/ <http://jdk.java.net/8/>
More information on the change of location for Early Access
builds. [2]
NOTE: - Oracle's JRE and JDK Cryptographic Roadmap has been
updated since last availability email [3]
Rgds,Rory
[1]
http://mail.openjdk.java.net/pipermail/jdk9-dev/2017-April/005766.html
<http://mail.openjdk.java.net/pipermail/jigsaw-dev/2017-March/011763.html>
[2]
http://mail.openjdk.java.net/pipermail/adoption-discuss/2017-April/001610.html
[3] https://www.java.com/en/jre-jdk-cryptoroadmap.html
--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland