• Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
Saturday, November 7, 2026
freevirtualsolutions.com
  • Home
  • Virtual Assistant
  • Enterprise Technology
  • Customer Support
  • Marketing Support
  • Workforce Management
No Result
View All Result
  • Home
  • Virtual Assistant
  • Enterprise Technology
  • Customer Support
  • Marketing Support
  • Workforce Management
No Result
View All Result
Free Virtual Solutions
No Result
View All Result
Home Enterprise Technology

JDK 23: The new features in Java 23

Ermias S. by Ermias S.
3 years ago
in Enterprise Technology
0
400
SHARES
2.4k
VIEWS
Share on FacebookShare on Twitter


Java Development Kit (JDK) 23, the next planned version of standard Java, is off and running, with two features now scheduled for the release.

Due September 19, JDK 23 has just added a second preview of a class-file API, providing a standard API for parsing, generating, and transforming Java class files. This feature was previously previewed in JDK 22, which was released on March 19. Previously slotted for JDK 23 was a preview of primitive types in patterns, instanceof, and switch.

The class-file API is intended to provide an API for processing class files that tracks the class file format defined by the Java Virtual Machine specification. It also would enable JDK components to migrate to the standard API and eventually remove the JDK’s internal copy of the third-party ASM library. The class-file API would add refinements including streamlining the CodeBuilder class, which has factory methods for bytecode instructions, including low-level factories, mid-level factories, and high-level builders for basic blocks.

For JDK 23, Java’s builders removed mid-level methods that duplicated low-level methods or were infrequently used, while renaming the remaining mid-level methods to improve usability. They also refined the ClassSignature class model, which has been improved to model the generic signatures of superclasses and superinterfaces more accurately. According to the OpenJDK proposal behind this feature, the Java platform should define and implement a standard class-file API that evolves together with the class-file format, which can evolve every six months.

Previously cited for inclusion in JDK 23 is another preview feature, primitive types in patterns, instanceof, and switch. This feature would enhance pattern matching by allowing primitive type patterns in all pattern contexts, and extend instanceof and switch to work with all primitive types. Goals include allowing type patterns for all types (primitive or reference), allowing primitive type patterns in both nested and top-level contexts, and providing easy-to-use constructs that eliminate the risk of losing information due to unsafe casts. Other goals include aligning pattern types with instanceof, aligning instanceof with safe casting, and allowing switch to process values of any primitive type.

A number of other features previewed in JDK 22 could make it into JDK 23. These include statements before super(…), which would give developers greater freedom in expressing constructor behavior; string templates, which would make it easy to express strings that include values computed at run time; stream gatherers, which would make stream pipelines more flexible and expressive; scoped values, which would enable sharing of immutable data within and across threads; and implicitly declared classes and instance main methods, which would make it easier for beginning programmers to write programs without needing to understand language features designed for large programs.

A vector API, which would express vector computations that reliably compile at run time to optimal vector instructions on supported architectures, is another potential feature in JDK 23. A vector API was in a seventh incubator stage in JDK 22. Derived record creation and a hot code heap proposal, which would reduce application execution times, also are possibilities.

Java steward Oracle also has revealed plans for Java in 2024. Oracle outlined improvements that involve  OpenJDK projects ranging from Amber, for developing smaller, productivity-oriented features, to Babylon, for extending Java to foreign programming models such as GPUs, to Valhalla, for augmenting the Java object model with value objects to eliminate longstanding performance bottlenecks.

Copyright © 2024 IDG Communications, Inc.



Source_link

Tags: featuresJavaJDK
Previous Post

Gartner highlights Yellow.ai in 50+ analyst reports! 100x thought leadership gain

Next Post

A Comprehensive On-Page SEO Checklist for 2024

Next Post
A Comprehensive On-Page SEO Checklist for 2024

A Comprehensive On-Page SEO Checklist for 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Customer Support (1,888)
  • Enterprise Technology (4,746)
  • Marketing Support (4,032)
  • Virtual Assistant (4,353)
  • Workforce Management (1,557)

Free Virtual Solutions

Welcome to freevirtualsolutionsThe goal of freevirtualsolutions is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Category

  • Customer Support
  • Enterprise Technology
  • Marketing Support
  • Virtual Assistant
  • Workforce Management

Recent Post

  • FusionAuth Adds OAuth Controls for Customer AI Agents
  • 5 Best AI Note-Taking Software for 2027: My Top Picks
  • Your Social Media Team Needs More Training — Not More Tasks
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

Copyright © 2023 Freevirtualsolutions.com | All Rights Reserved.

No Result
View All Result
  • Home
  • Virtual Assistant
  • Enterprise Technology
  • Customer Support
  • Marketing Support
  • Workforce Management

Copyright © 2023 Freevirtualsolutions.com | All Rights Reserved.

Chat with us

Hi there! How can I help you?