JDK 14 - Early Access build 25 is available

Dalibor Topic dalibor.topic at oracle.com
Mon Dec 2 13:56:22 UTC 2019


Hi Ben,

JEP 359 is targeted for JDK 14. The implementation is not integrated yet 
- please see https://bugs.openjdk.java.net/browse/JDK-8222777 for 
current status.

cheers,
dalibor topic

On 02.12.2019 14:52, Ben Evans wrote:
> Hi Deepak,
> 
> Thanks for pushing out this EA build.
> 
> Unfortunately, I've had some problems using it. I interpreted your
> release note to mean that Build 25 contained support for records.
> However:
> 
> bevans$ javac --enable-preview -source 14 FXOrder.java
> FXOrder.java:3: error: class, interface, or enum expected
> public record FXOrder(int units, CurrencyPair pair, Side side, double
> price, LocalDateTime sentAt, int ttl) {
>         ^
> FXOrder.java:4: error: class, interface, or enum expected
>      public FXOrder {
>             ^
> FXOrder.java:7: error: class, interface, or enum expected
>          }
>          ^
> FXOrder.java:10: error: class, interface, or enum expected
>          }
>          ^
> FXOrder.java:13: error: class, interface, or enum expected
>          }
>          ^
> FXOrder.java:16: error: class, interface, or enum expected
>      public static FXOrder of(CurrencyPair pair, Side side, double price) {
>                    ^
> FXOrder.java:18: error: class, interface, or enum expected
>      }
>      ^
> 7 errors
> bevans$ java -version
> openjdk version "14-ea" 2020-03-17
> OpenJDK Runtime Environment (build 14-ea+25-1178)
> OpenJDK 64-Bit Server VM (build 14-ea+25-1178, mixed mode, sharing)
> 
> Is this a mistake, or have I misunderstood the contents of Build 25?
> 
> Thanks,
> 
> Ben
> 
> On Mon, 2 Dec 2019 at 10:12, Deepak Damodaran
> <deepak.n.damodaran at oracle.com> wrote:
>>
>> Hi All,
>>
>> *OpenJDK builds  - JDK 14 *- Early Access build 25 is available at
>> http://jdk.java.net/14/
>>
>> These early-access, open-source builds are provided under the GNU
>> General Public License, version 2, with the Classpath Exception
>> <http://openjdk.java.net/legal/gplv2+ce.html>.
>>
>>    * *Next Milestone*
>>      **
>>        o ** *12-Dec-2019 Rampdown Phase One.*
>>    * Schedule for JDK 14*
>>      *        2019/12/12 Rampdown Phase One
>>               2020/01/16 Rampdown Phase Two
>>               2020/02/06 Initial Release Candidate
>>               2020/02/20 Final Release Candidate
>>               2020/03/17 General Availability
>>    * Release notes
>>        o https://jdk.java.net/14/release-notes
>>    * JEP proposed to target JDK 14
>>        o JEP 365 ZGC on Windows <https://openjdk.java.net/jeps/365>
>>    * JEPs targeted to JDK 14, so far:
>>        o JEP 305: Pattern Matching for instanceof (Preview)
>>          <http://openjdk.java.net/jeps/305> was proposed to target.
>>        o JEP 343: Packaging Tool (Incubator)
>>          <http://openjdk.java.net/jeps/343> was proposed to target.
>>        o JEP 345: NUMA-Aware Memory Allocation for G1
>>          <http://openjdk.java.net/jeps/345> was integrated.
>>        o JEP 349: JFR Event Streaming
>>          <http://openjdk.java.net/jeps/349> was integrated.
>>        o JEP 352:  Non-Volatile Mapped Byte Buffers
>>          <http://openjdk.java.net/jeps/352> was targeted.
>>        o JEP 358: Helpful NullPointerExceptions
>>          <https://openjdk.java.net/jeps/358> was integrated.
>>        o JEP 359: Records (Preview) <http://openjdk.java.net/jeps/359>
>>          JEP 359: Records (Preview)
>>          <http://openjdk.java.net/jeps/359> was proposed to target.
>>        o JEP 361: Switch Expressions (Standard)
>>          <http://openjdk.java.net/jeps/361> was intergrated.
>>        o JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage
>>          Collector <http://openjdk.java.net/jeps/363> was targeted.
>>        o JEP 364: ZGC on macOS <http://openjdk.java.net/jeps/364> was
>>          targeted.
>>        o JEP 366: Deprecate the ParallelScavenge + SerialOld GC
>>          Combination <http://openjdk.java.net/jeps/366> was proposed to
>>          target.
>>        o JEP 367: Remove the Pack200 Tools and API
>>          <http://openjdk.java.net/jeps/367> was targeted to JDK 14.
>>        o JEP 368: Text Blocks (Second Preview)
>>          <http://openjdk.java.net/jeps/368> was proposed to target.
>>
>>    * Recent Bug fixes of Interest
>>
>>        * Build 25:
>>            o JDK-8233301: Implementation of JEP 366: Deprecate the
>>              ParallelScavenge + SerialOld GC Combination
>>            o JDK-8233296: The behavior of MulticastSocket
>>              getOption/setOption for IP_MULTICAST_LOOP is changed to
>>              conform the specification of
>>              StandardSocketOptions.IP_MULTICAST_LOOP
>>        * Build 24:
>>            o JDK-8233141 :DatagramSocket.send and MulticastSocket.send
>>              throw IllegalArgumentException when the socket is not
>>              connected and the packet doesn't contain any address )
>>            o JDK-8214024: Remove the default keytool -keyalg value
>>            o JDK-8232019: Add LuxTrust certificate updates to the
>>              existing root program
>>        * Build 23
>>            o JDK 8232365: Implementation for JEP 363: Remove the
>>              Concurrent Mark Sweep (CMS) Garbage Collector
>>            o JDK 8224817: Implementation of JEP 364: ZGC on macOS
>>
>>    * Changes in this build
>>      <http://hg.openjdk.java.net/jdk/jdk/log?rev=reverse%28%22jdk-14%2B24%22%3A%3A%22jdk-14%2B25%22-%22jdk-14%2B24%22%29&revcount=1000>
>>
>> *jpackage EA -* Build 14-jpackage+1-70 (2019/11/12)
>>
>>    * This is an early access build of JEP 343: Packaging Tool
>>      <https://openjdk.java.net/jeps/343>, aimed at testing a prototype
>>      implementation of  jpackage, which is a new tool for packaging
>>      self-contained Java applications along with a Java Runtime Environment.
>>    * These early-access builds are provided under the GNU General Public
>>      License, version 2, with the Classpath Exception
>>      <http://openjdk.java.net/legal/gplv2+ce.html>
>>    * Build is now available http://jdk.java.net/jpackage/
>>    * Please send feedback via e-mail to core-libs-dev at openjdk.java.net
>>      <mailto:core-libs-dev at openjdk.java.net>
>>
>>
>> Regards
>> Deepak Damodaran
>> Quality Outreach
>> Oracle, Bangalore, India
>>
>>

-- 
<http://www.oracle.com>
Dalibor Topic | Consulting Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961> | Video: dalibor.topic at oracle.com
<sip:dalibor.topic at oracle.com>

Oracle Global Services Germany GmbH
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRB 246209
Geschäftsführer: Ralf Herrmann

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment


More information about the adoption-discuss mailing list