BT

InfoQ Homepage News Java 13 Enters Feature Freeze and Rampdown

Java 13 Enters Feature Freeze and Rampdown

This item in japanese

Bookmarks

JDK 13 has entered Feature Freeze and Rampdown, and no further new features will be targeted for this release.

The final list of new features is:

  • JEP 350: Dynamic CDS Archives
  • JEP 351: ZGC: Uncommit Unused Memory
  • JEP 353: Reimplement the Legacy Socket API
  • JEP 354: Switch Expressions (Preview)
  • JEP 355: Text Blocks (Preview)

Of these new features, only one (Reimplement the Legacy Socket API) will have any direct impact on any users who do not explicitly opt in to the new features.

The switch expressions feature is being re-previewed after the initial preview in JDK 12. The syntax has been changed following community feedback, and now introduces a new keyword, yield, to handle returning values from a switch expression used in block form.

Rather disappointingly, no new functionality is introduced in the JDK 13 switch expressions. In particular, no form of Pattern Matching arrives in this release, which contradicts the prediction made by InfoQ at the start of the year.

The other new Preview Feature in JDK 13 is Text Blocks which were previously called multi-line strings. This feature aims to reduce some of the burden of including large quantities of formatted text directly in Java programs.

The final version of Java 13 is expected to be released on September 17th 2019. It is not a long-term support release (LTS). It will only be eligible for free support from Oracle for 6 months after release and there is no current indication that other vendors will be interested in supporting it beyond the initial timeframe.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Preview features

    by Richard Richter /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    OK, so I'll have to wait one more cycle for switches. Break seemed a bit strange for sure, yield is better - but it's a new keyword. It's all good I guess.
    I like the new string blocks, I didn't like what I saw for raw strings, but """ with white-space removal is just exactly what I'd expect. I'm looking forward to it. It is kinda Groovish, although no interpolation, but I think this really fits Java as is. I'm not sure why something simple, like \ just before the newline, can't preserve trailing white-spaces, but then... I don't understand why there are even syntaxes with valid trailing spaces (we really can't see, right? :-)), so those work-arounds are probably enough for this category of problems.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.