Java 22 released with the promise of bringing developers simplification and better usability
Image Credit: Oxford Web Studio

Java 22 released with the promise of bringing developers simplification and better usability

The first major release of Java in 2024 is now available with the launch of Java 22.

Java 22 arrives six months after Java 21 and is an incremental feature update, not a Long-Term Support (LTS) release. With each new Java update, the community of developers led by 甲骨文 works on a series of Java Enhancement Proposals (JEPs) that are typically clustered under larger projects. The major Java projects include Loom, Panama, and Amber, each having specific long-term goals for improving Java, with incremental capabilities landing in each new Java update.

A major focus for Java 22 is reducing complexity for developers.

Among the key updates to Java 22 are:

  • JEP 454: Foreign Function & Memory API, enabling calling native libraries and processing native data
  • JEP 456: Unnamed Variables & Patterns, adding unnamed variables and patterns to improve readability and reduce errors
  • JEP 457: Class-File API (Preview), providing API for parsing and processing class files
  • JEP 458: Launch Multi-File Source-Code Programs, running programs supplied as multiple Java source files
  • JEP 459: String Templates (Second Preview), simplifying string creation with embedded expressions
  • JEP 460: Vector API (Seventh Incubator), expressing vector computations for improved performance
  • JEP 461: Stream Gatherers (Preview), adding custom intermediate stream operations
  • JEP 462: Structured Concurrency (Second Preview), adding API for structured concurrency to simplify error handling
  • JEP 463: Implicitly Declared Classes and Instance Main Methods (Second Preview), simplifying writing single-class programs for beginners
  • JEP 464: Scoped Values (Second Preview), allowing sharing immutable data between threads

“I’ve been working on Java for the past 25 years, and we now have the most interesting and innovative pipelines of innovation in the platform that we have had in a long time,” said Bernard Traversat - We're hiring. , vice president of software development in the Java Platform Group at 甲骨文 .

Read the rest of the article for free here: https://easysam.co.uk/news/java-22-released-with-the-promise-of-bringing-developers-simplification-and-better-usability/

要查看或添加评论,请登录

EasySAM | Software Asset Management Specialists的更多文章

社区洞察

其他会员也浏览了