[hibernate-dev] Release Announcement: General Availability of Java 15 / JDK 15

2020-09-15 Thread Rory O'Donnell

Hi Sanne & Yoann,

**Release Announcement: General Availability of Java 15 / JDK 15 [1]
**

 * JDK 15, the reference implementation of Java 15, is now Generally
   Available.
 * GPL-licensed OpenJDK builds from Oracle are available here:
   http://jdk.java.net/15/
 * JDK 15 Release notes
   

JDK 15 includes fourteen features [2]:

 * JEP 339: Edwards-Curve Digital Signature Algorithm (EdDSA)
   
 * JEP 360: Sealed Classes (Preview) 
 * JEP 371: Hidden Classes 
 * JEP 372: Remove the Nashorn JavaScript Engine
   
 * JEP 373: Reimplement the Legacy DatagramSocket API
   
 * JEP 374: Disable and Deprecate Biased Locking
   
 * JEP 375: Pattern Matching for instanceof (Second Preview)
   
 * JEP 377: ZGC: A Scalable Low-Latency Garbage Collector
   
 * JEP 378: Text Blocks 
 * JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector
   
 * JEP 381: Remove the Solaris and SPARC Ports
   
 * JEP 383: Foreign-Memory Access API (Second Incubator)
   
 * JEP 384: Records (Second Preview) 
 * JEP 385: Deprecate RMI Activation for Removal
   

Thanks to everyone who contributed to JDK 15, whether by creating 
features or enhancements, logging  bugs, or downloading and testing the 
early-access builds.


OpenJDK 16 Early Access build 15**is now available at http://jdk.java.net/16

 * JEPs integrated to JDK 16:
 o JEP 347: Enable C++14 Language Features
   
 o JEP 357: Migrate from Mercurial to Git
   
 o JEP 369: Migrate to GitHub 

 * Release Notes are available at http://jdk.java.net/16/release-notes

**

 * Significant changes since the last availability email:
 o Build 15
 + JDK-8244090: public lookup should find public members of
   public exported types (Reported by Eclipse Jetty)
 + JDK-8250968: Symlinks attributes not preserved when using
   jarsigner on zip files
 o Build 14
 + JDK-8189744: Deprecate the JDK-specific API for setting
   socket options, jdk.net.Sockets
 + JDK-8241003: Deprecate "denigrated" java.security.cert APIs
   that represent DNs as Principal or String objects
 + JDK-8245462: The default HttpClient implementation returns
   cancelable futures


*__*
Rgds,Rory


[1] 
https://mail.openjdk.java.net/pipermail/jdk-dev/2020-September/004733.html

[2] https://openjdk.java.net/projects/jdk/15/
--

Rgds, Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin, Ireland

___
hibernate-dev mailing list -- hibernate-dev@lists.jboss.org
To unsubscribe send an email to hibernate-dev-le...@lists.jboss.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[hibernate-dev] Re: Release Announcement: General Availability of Java 15 / JDK 15

2020-09-15 Thread Sanne Grinovero
Many thanks Rory!

All, there's plenty of great features here which are relevant to
Hibernate; I hope you're having a look. Unfortunately we're still
aiming at backwards compatibility with Java8 for our main projects,
but I hope some of us will want to start experimenting with these.

Some suggestions:

* JEP 371: Hidden Classes 
Some of the classes we generate might be a good candidate to be
"hidden"? Although I have to warn I haven't fully understood this JEP,
it will require some exploration.

* JEP 378: Text Blocks 
Expressing SQL queries is the canonical example of this JEP; clearly
it's going to be useful for HQL as well. I suppose it will "just
work", but it would be good to verify this, see how it looks, and if
there's improvements we can do to our API / documentation / examples.

* JEP 360: Sealed Classes (Preview) 
For those cases in which we have an SPIs which isn't really meant to
be third-party pluggable.

 * JEP 384: Records (Second Preview) 
Since they are immutable, they aren't a good fit for entities; but
they seem like a great way to represent a scalar query result, as sets
of parameters for queries, and there's possibly some desire to use
them mappeddd as embeddable types.

Thanks,
Sanne


On Tue, 15 Sep 2020 at 15:37, Rory O'Donnell  wrote:
>
> Hi Sanne & Yoann,
>
> **Release Announcement: General Availability of Java 15 / JDK 15 [1]
> **
>
>   * JDK 15, the reference implementation of Java 15, is now Generally
> Available.
>   * GPL-licensed OpenJDK builds from Oracle are available here:
> http://jdk.java.net/15/
>   * JDK 15 Release notes
> 
>
> JDK 15 includes fourteen features [2]:
>
>   * JEP 339: Edwards-Curve Digital Signature Algorithm (EdDSA)
> 
>   * JEP 360: Sealed Classes (Preview) 
>   * JEP 371: Hidden Classes 
>   * JEP 372: Remove the Nashorn JavaScript Engine
> 
>   * JEP 373: Reimplement the Legacy DatagramSocket API
> 
>   * JEP 374: Disable and Deprecate Biased Locking
> 
>   * JEP 375: Pattern Matching for instanceof (Second Preview)
> 
>   * JEP 377: ZGC: A Scalable Low-Latency Garbage Collector
> 
>   * JEP 378: Text Blocks 
>   * JEP 379: Shenandoah: A Low-Pause-Time Garbage Collector
> 
>   * JEP 381: Remove the Solaris and SPARC Ports
> 
>   * JEP 383: Foreign-Memory Access API (Second Incubator)
> 
>   * JEP 384: Records (Second Preview) 
>   * JEP 385: Deprecate RMI Activation for Removal
> 
>
> Thanks to everyone who contributed to JDK 15, whether by creating
> features or enhancements, logging  bugs, or downloading and testing the
> early-access builds.
>
> OpenJDK 16 Early Access build 15**is now available at http://jdk.java.net/16
>
>   * JEPs integrated to JDK 16:
>   o JEP 347: Enable C++14 Language Features
> 
>   o JEP 357: Migrate from Mercurial to Git
> 
>   o JEP 369: Migrate to GitHub 
>
>   * Release Notes are available at http://jdk.java.net/16/release-notes
>
> **
>
>   * Significant changes since the last availability email:
>   o Build 15
>   + JDK-8244090: public lookup should find public members of
> public exported types (Reported by Eclipse Jetty)
>   + JDK-8250968: Symlinks attributes not preserved when using
> jarsigner on zip files
>   o Build 14
>   + JDK-8189744: Deprecate the JDK-specific API for setting
> socket options, jdk.net.Sockets
>   + JDK-8241003: Deprecate "denigrated" java.security.cert APIs
> that represent DNs as Principal or String objects
>   + JDK-8245462: The default HttpClient implementation returns
> cancelable futures
>
>
> *__*
> Rgds,Rory
>
> [1]
> https://mail.openjdk.java.net/pipermail/jdk-dev/2020-September/004733.html
> [2] https://openjdk.java.net/projects/jdk/15/
> --
>
> Rgds, Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA, Dublin, Ireland
>
> ___
> hibernate-dev mailing list -- hibernate-dev@lists.jboss.org
> To unsubscribe send an email to hibernate-dev-le...@lists.jboss.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
hibe