Slash Boxes

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

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

Oracle releases Java 19 with seven significant enhancements []:

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 []."

When measured in more general terms, Java ranks #2 [] or #3 [] or #5 [], 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 [] while OpenJDK is offered under a GPL license [].

JDK 19 [] arrives with seven JDK enhancement proposals six months after JDK 18 []. 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 [] 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 [] 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 [], Pattern Matching for switch, enters its third preview.

From Project Loom, there's JEP 425 [], 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 [], Structured Concurrency, an incubation-level effort to simplify multithreaded programming.

Project Panama brings JEP 424 [], 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 [], 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 [], 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 [], 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 [] 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 [] rather than Java 23. ®

Get ourTech Resources []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 [] Send us news [] 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 | [] Enterprise software deals slower to close as macroeconomics hit IT departments Picture of longer sales cycles, more deliberation, enterprise upgrade challenges emerging across industrySaaS | [] 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 | [] When DevOps and cyber security collide How can the IT industry stop the CVE rot and get software bug numbers down?Sponsored Feature []Demand for software experts pushes tech salaries higher in UK One in six ditching job offer from employers low-balling on payOn-Prem | [] Nearly one in two industry pros scaled back open source use over security fears Log4j being the main driver, this data science poll claimsCSO | [] Go programming language arrives at security warnings that are useful Low-noise tool hopes to highlight vulnerabilities imported into projectsPatches | [] 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 | [] Microsoft scales up Azure's Policy-as-code in 'new approach' The code's on GitHub for admins to play withOff-Prem | [] VMware teases replacement for so-insecure-it-was-retired P2V migration tool vCenter Converter will make a comebackVirtualization | [] 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 | [] Can reflections in eyeglasses actually leak info from Zoom calls? Here's a study into it About time someone shone some light onto thisResearch | [] ABOUT US



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 []Cookies []Privacy []Ts&Cs []

Original Submission