Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

No link to story available

Oracle Releases Java 19 With Seven Significant Enhancements

Accepted submission by upstart at 2022-09-20 18:14:25
News

████ # This file was generated bot-o-matically! Edit at your own risk. ████

Oracle releases Java 19 with seven significant enhancements [theregister.com]:

Oracle brews Java 19. Mmmm, kinda tastes like RISC-V Upstart CPU integration, incremental improvements – just the way cautious corporate customers like it Copy

Oracle on Tuesday marked the release of Java 19 (JDK 19), the latest iteration of the popular general purpose programming language.

In its evangelizing slide deck accompanying this release, Oracle ranks Java as the "#1 language for today's technology trends" and the "#1 language in overall development organizational use." The company also cites consultancy VDC Research's findings that "Java is #1 choice for cloud [oracle.com]."

When measured in more general terms, Java ranks #2 [github.io] or #3 [tiobe.com] or #5 [stackoverflow.com], depending upon which programming language survey gets cited. But programming language popularity alone, however that gets measured, doesn't necessarily build an ecosystem.

Suffice it to say that Java continues to be extremely important to Oracle, to the estimated 10 million Java developers wandering the world, and to 60 billion active Java Virtual Machines (JVMs) that rely on a 27-year-old programming language.

Oracle JDK is based on the OpenJDK, the open source reference implementation of the Java SE Platform Edition platform. Oracle JDK is available under a subscription license [java.com] while OpenJDK is offered under a GPL license [openjdk.org].

JDK 19 [oracle.com] arrives with seven JDK enhancement proposals six months after JDK 18 [theregister.com]. That's a cadence Oracle believes balances the needs of Java developers, customers, and maintainers.

Prior to 2017, the database biz and Java barista waited several years between Java releases, which ended up causing delays [theregister.com] and ultimately became untenable amid the accelerated release cycles championed by Google, among others, during the transition from on-premises to cloud computing.

The inside track

In an interview with The Register, Georges Saab, Oracle SVP of development for the Java Platform and Chair of the OpenJDK Governing Board, said this is the tenth release done under the six-month release cycle.

"All of those releases came out at the designated time and date," said Saab. "There haven't been any delays since we moved to this model, which, as you're probably aware, was not always the case with the previous model that we had."

Saab said the result is being able to get innovation into the hands of developers more quickly than was possible during multi-year release cycles.

"In the past, they would often have to wait for quite a long time to get anything new in Java, and then they would get too much, all at once," he explained.

"We do realize that not everyone out there wants to be rebasing everything every six months," said Saab. "And so an important thing we did there was offering the Java SE subscription for long-term support, basically making it so that enterprises that want the convenience of staying on one version and just getting updates every quarter, to keep them secure, [can do that.]"

Java's accelerated release cycle doesn't necessarily mean that new features appear suddenly. They often surface as preview technologies, to prompt community feedback and adjustment in subsequent releases.

"We didn't find some magic way of doing three or four years of work in six months," explained Saab.

Thus, the Java development process has become iterative and participatory, even as it allows members of the community to sit out releases while features mature.

The improvements focused on by the Java community have been organized around specific themes.

"As an example," said Saab, "the Amber project is a project to work on improvements to the Java language and Java syntax, in order to make it more modern, more succinct, easier to use, and, above all, easier to read and understand. Leyden is about improving startup time and warmup time. Loom is about scalability and taking Java scalability to the next level."

In Java 19, these thematic projects are expressed in various Java Enhancement Proposals, or JEPs.

As part of Project Amber, JEP 405 [openjdk.org] offers a preview of Record Patterns, a way to deconstruct record values by binding each component to a variable. Another child of Project Amber, JEP 427 [openjdk.org], Pattern Matching for switch, enters its third preview.

From Project Loom, there's JEP 425 [openjdk.org], Virtual Threads, the preview of a lightweight threading implementation to complement the more robust Streams API.

"We've taken away the long-standing assumption that there's a one-to-one mapping between a Java thread and a native thread," explained Saab. "With virtual threads, you can have tens of thousands of Java threads to map to a native thread."

"While that's not something that most Java developers will [do every day], it does mean that the people who are writing high performance servers, or other things where they do want to be able to get down to that level, now have this new facility to basically scale their applications and their frameworks in a way that doesn't require them to change the programming model."

Another Loom initiative in the latest release is JEP 428 [openjdk.org], Structured Concurrency, an incubation-level effort to simplify multithreaded programming.

Project Panama brings JEP 424 [openjdk.org], a preview API called Foreign Function and Memory that lets Java programs communicate outside of the JVM with native libraries and native data. The other Panama-based expansion is JEP 426 [openjdk.org], the fourth incubator version of the Vector API, which enables developers to create vector computations that compile efficiently using the most appropriate vector instructions on supported CPU architectures.

Lastly, there's JEP 422 [openjdk.org], a Linux/RISC-V Port that simplifies Linux/RISC-V implementations by integrating the port into the JDK main-line repository.

Saab said in addition to these JEPS, Java releases incorporate well over a thousand bug fixes that improve stability and performance. Java customers, he said, often delay upgrades because they look at the feature list and don't see anything they obviously need. But he urges Java developers to get with the program "because everything gets better."

Don't wait up

Upgrade reticence is common in the Java world, where enterprises have reason to be concerned about potential incompatibilities. According to monitoring biz New Relic [newrelic.com], Java 11, released September 2018, is the most popular version of Java at the moment (48 percent), followed by Java 8, released March 2014 (46 percent). Both are long-term support (LTS) releases.

That fits the 2022 JRebel Java Developer Productivity Report's [jrebel.com] finding that the top reason to adopt a JDK upgrade is a new LTS release (25 percent), which exceeds justifications like security (23 percent), performance (20 percent), new features (18 percent), and compliance (14 percent).

But even LTS releases take a while to be adopted. The most recent LTS version, Java 17, from September 2021, only accounted for 0.37 percent of Java usage as of January 2022. Recent non-LTS releases (10, 12, 13, 14, 15, and 16) are similarly scarce in New Relic's stats.

So it may be a while before Java 19 becomes statistically significant. The next LTS release is expected to be Java 21 [oracle.com] rather than Java 23. ®

Get ourTech Resources [theregister.com]ShareCopySimilar topics

  • Cloud Computing
  • Development
  • Enterprise
  • Oracle
  • Software

Broader topics

  • Larry Ellison

Narrower topics

  • AdBlock Plus
  • App
  • Audacity
  • AWS
  • Azure
  • Cloud native
  • Confluence
  • Content delivery network
  • Database
  • Devops
  • Digital Ocean
  • EC2
  • Edge Computing
  • Google Cloud Platform
  • G Suite
  • Hybrid Cloud
  • IaaS
  • iCloud
  • IDE
  • Jenkins
  • Kubernetes
  • LibreOffice
  • Map
  • Mark Hurd
  • Microsoft 365
  • Microsoft Office
  • Microsoft Teams
  • MySQL
  • OpenOffice
  • Paas
  • Private Cloud
  • Programming Language
  • Public Cloud
  • Retro computing
  • Search Engine
  • Serverless
  • Software bug
  • Software License
  • User interface
  • Virtualization
  • Visual Studio
  • Visual Studio Code
  • vSphere
  • Web Browser

Corrections [theregister.com] Send us news [theregister.com] Other stories you might like White House to tech world: Promise you'll write secure code – or Feds won't use it Developers, why not simply build flawless software, thus solving all our vulnerability worriesSecurity | [theregister.com] Enterprise software deals slower to close as macroeconomics hit IT departments Picture of longer sales cycles, more deliberation, enterprise upgrade challenges emerging across industrySaaS | [theregister.com] Oracle floats its HeatWave system into Amazon's cloud Avoiding data movement saves $$$ but rivals have own approaches to doing analytics, transactions on same dataPaaS + IaaS | [theregister.com] When DevOps and cyber security collide How can the IT industry stop the CVE rot and get software bug numbers down?Sponsored Feature [theregister.com]Demand for software experts pushes tech salaries higher in UK One in six ditching job offer from employers low-balling on payOn-Prem | [theregister.com] Nearly one in two industry pros scaled back open source use over security fears Log4j being the main driver, this data science poll claimsCSO | [theregister.com] Go programming language arrives at security warnings that are useful Low-noise tool hopes to highlight vulnerabilities imported into projectsPatches | [theregister.com] VMware has clouded the SmartNIC market, not created it Analysis Virtzilla has built itself an island. Important players aren't welcome to visit and might go elsewhereVirtualization | [theregister.com] Microsoft scales up Azure's Policy-as-code in 'new approach' The code's on GitHub for admins to play withOff-Prem | [theregister.com] VMware teases replacement for so-insecure-it-was-retired P2V migration tool vCenter Converter will make a comebackVirtualization | [theregister.com] Security pros get ability to manually add incidents to Microsoft Sentinel *Tappity tappity* Yes the NSA's on the phone. Well maybe the automated log check didn't pick it up yet, Chad!Security | [theregister.com] Can reflections in eyeglasses actually leak info from Zoom calls? Here's a study into it About time someone shone some light onto thisResearch | [theregister.com] ABOUT US

MORE CONTENT

SITUATION PUBLISHING

The Register - Independent news and views for the tech community. Part of Situation Publishing

Biting the hand that feeds IT © 1998–2022

Do not sell my personal information [theregister.com]Cookies [theregister.com]Privacy [theregister.com]Ts&Cs [theregister.com]


Original Submission