Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Enhancing Speed and Scalability with Go-based TypeScript

    Nisan 20, 2025

    How Generative AI Can Accelerate Application Migration and Modernization

    Nisan 20, 2025

    Baidu’s ERNIE AI Launch Signals Intensifying Global AI Competition

    Nisan 20, 2025
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Ryzen 8000 HX Series Brings Affordable Power to Gaming Laptops

      Nisan 10, 2025

      Today only: Asus OLED laptop with 16GB RAM drops to $550

      Nisan 6, 2025

      Panther Lake: Intel’s Upcoming Hybrid Hero for PCs

      Nisan 5, 2025

      A new Xbox gaming handheld? Asus’ teaser video sparks speculation

      Nisan 2, 2025

      Now available—Coolify’s ‘holographic’ PC fans bring a unique visual effect

      Nisan 2, 2025
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » Java 23 Begins to Take Shape
    java

    Java 23 Begins to Take Shape

    By mustafa efeTemmuz 6, 2024Yorum yapılmamış3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Java Update Due in September Would Enhance Pattern Matching by Allowing Primitive Type Patterns in All Pattern Contexts

    Although Not Expected to Arrive Until September Java Development Kit 23 Already Has Been Assigned Its First Feature An Enhancement to Pattern Matching

    Although not expected to arrive until September, Java Development Kit 23 already has been assigned its first feature, an enhancement to pattern matching. JDK 23 would follow JDK 22 by six months. JDK 22 is due in March with capabilities such as previews of structured concurrency and string templates.

    The OpenJDK page for JDK 23 lists a preview of primitive types in patterns, instanceof, and switch as the first feature targeted for the release. This JDK enhancement proposal would enhance pattern matching by allowing primitive type patterns in all pattern contexts.

    Goals of the proposal include enabling uniform data exploration by allowing type patterns for all types, whether primitive or reference; aligning type patterns with instanceof and aligning instanceof with safe casting; and allowing pattern matching to use primitive pattern type patterns in both nested and top-level contexts. Other goals include providing easy-to-use constructs that eliminate the risk of losing information due to unsafe casts, and allowing switch to process values of any primitive type.

     

     

    Motivating the proposal is the desire to eliminate multiple restrictions pertaining to primitive types that “impose friction” on developers when using pattern matching, instanceof, and switch. Eliminating these restrictions would make Java more uniform and more expressive, the proposal states.

    Other features likely to be included in JDK 23 are those being previewed in JDK 22, such as the class-file API and string templates. Oracle publishes new versions of standard Java every six months, in March and September. The current release of standard Java is JDK 21, which was released last September with features such as virtual threads and a generational Z garbage collector.

    Goals of the proposal include enabling uniform data exploration by allowing type patterns for all types, whether primitive or reference; aligning type patterns with instanceof and aligning instanceof with safe casting; and allowing pattern matching to use primitive pattern type patterns in both nested and top-level contexts. Other goals include providing easy-to-use constructs that eliminate the risk of losing information due to unsafe casts, and allowing switch to process values of any primitive type.

    Motivating the proposal is the desire to eliminate multiple restrictions pertaining to primitive types that “impose friction” on developers when using pattern matching, instanceof, and switch. Eliminating these restrictions would make Java more uniform and more expressive, the proposal states.

    Post Views: 112
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    Enhancing Speed and Scalability with Go-based TypeScript

    Nisan 20, 2025

    How Generative AI Can Accelerate Application Migration and Modernization

    Nisan 20, 2025

    Baidu’s ERNIE AI Launch Signals Intensifying Global AI Competition

    Nisan 20, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2025 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.