Dive into our in-depth analysis of #JDK21 and get a sneak peek into what's on the horizon for #JDK22.
Read more on #InfoQ: https://bit.ly/3sK6Ctf
#jdk21 #jdk22 #infoq #java #openjdk #projectamber #projectloom #projectpanama
Explore the use of the Unnamed Patterns / Variables in programming languages like #Java, #Kotlin & #Scala.
Enhancing code readability, allowing the omission of unnecessary components, and simplifying code are key features.
Read the #InfoQ article by A N M Bazlur Rahman for more insights: https://bit.ly/44Aknbe
#java #kotlin #scala #infoq #jdk21 #jvmlanguages #functionalprogramming
Project Loom + Quarkus = 💡
Discover the current potential of Project Loom with the help of Quarkus application benchmark!
#uncoverjava #projectloom #quarkus #java21 #jdk21 #jvm
"JDK 21 is in Rampdown Phase Two. The overall feature set is frozen. No further JEPs will be targeted to this release."
https://openjdk.org/projects/jdk/21/
Features (previews omitted):
- JSR 431: Sequenced Collections
- JSR 439: Generational ZGC
- JSR 440: Record Patterns
- JSR 441: Pattern Matching for switch
- JSR 444: Virtual Threads
- JSR 449: Deprecate Windows 32-bit Port
- JSR 451: Prepare to Disallow the Dynamic Loading of Agents
- JSR 452: Key Encapsulation Mechanism API
#java #jdk #jdk21 #java21
Started progress on another overview article on the next #Java release today (like the one I wrote in March, see https://foojay.io/today/its-java-20-release-day-heres-whats-new/).
#JDK21 will be packed with So. Many. New. Features! 🤩 It will be a challenge to keep this one shorter than 4000 words. 😄
Big news in the #Java world today! The finalisations of #PatternMatching in switch (openjdk.org/jeps/441) and #RecordPatterns (openjdk.org/jeps/440) are now proposed to target #JDK21. 🥳
#java #patternmatching #recordpatterns #jdk21
JEP 430 - String Templates (Preview) - promoted to Targeted status for #JDK21: https://bit.ly/3Ls7wR5
This feature aims to simplify the writing of Java programs, improve the readability of expressions that mix text and expressions, and enhance the security of Java programs that compose strings from user-provided values.
Groovy and Sequenced Collections (JEP-431)
https://groovy.apache.org/blog/groovy-sequenced-collections
#groovylang #jep431 #jdk21
@ApacheGroovy
JEP 444 - Virtual Threads - Proposed to Target #JDK21!
#VirtualThreads are lightweight threads that dramatically reduce the effort of writing, maintaining & observing high-throughput concurrent applications.
More on #InfoQ: http://bit.ly/3MBnNoU
#jdk21 #virtualthreads #infoq #java
Don't look at me that way JEP 442 Foreign Memory API. Some day you will be targeted for some JDK. Better be late than be a ByteBuffer
---
RT @Sharat_Chander
📢Announcement!📢
#Java Developers:
Virtual Threads from Project Loom targeted for #JDK21.
Learn more: https://openjdk.org/jeps/444
#OpenJDK #JDK #VirtualThreads #ProjectLoom
https://twitter.com/Sharat_Chander/status/1645539645097381888
#java #jdk21 #openjdk #jdk #virtualthreads #projectloom
"Sure, but what have you done for me *today*?" :P
---
RT @nextjavarelease
#Java #JDK21
181 more days until #Java21 is released on 2023-09-20 (estimated)
⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 1%
https://twitter.com/nextjavarelease/status/1638963858521079808
Missed that Classfile API is being worked one in #JDK21
It’s a multistep effort and at this time the API is internal only\
https://github.com/openjdk/jdk/pull/10982
https://bugs.openjdk.org/browse/JDK-8294957
Disallowing the dynamic loading of agents by default in JDK 21.
Some tasks might just get less intuitive (like maybe mocking finals (will need to configure gradle/maven with `-XX:+EnableDynamicAgentLoading`).
https://mail.openjdk.org/pipermail/serviceability-dev/2023-March/046868.html
#openjdk #jdk21
JEP 431: Sequenced Collections - proposed to target #JDK21: http://bit.ly/3yI3GwZ
It introduces "a new family of interfaces that represent the concept of a collection whose elements are arranged in a well-defined sequence or ordering, as a structural property of the collection."
Deep dive analysis: we examine #JDK20 and predict what features may be targeted for #JDK21.
Read on #InfoQ: https://bit.ly/3LgPse6
#jdk20 #jdk21 #infoq #java #projectamber #projectloom #projectpanama
Making the source code UTF-8
"I have created https://bugs.openjdk.org/browse/JDK-8301971 with the intention of converting all files
to UTF-8, and updating all infrastructure to recognize this fact."
more @ https://mail.openjdk.org/pipermail/jdk-dev/2023-February/007342.html
JDK 21 Early-Access Build 11 is here:
http://jdk.java.net/21/
Release notes:
https://jdk.java.net/21/release-notes
Issues addressed in this build:
https://bugs.openjdk.org/issues/?jql=project%20%3D%20JDK%20AND%20fixversion%20%3D%2021%20and%20%22resolved%20in%20build%22%20%3D%20b11%20order%20by%20component%2C%20subcomponent
JDK 21: Image Performance Improvements
"In a previous article, I talked about how serialization and file I/O performance was improved in JDK 21 thanks to the use of VarHandleconstructs. The method employed there has now also been applied to Java’s image-handling library making it faster."
More @ https://minborgsjavapot.blogspot.com/2023/02/jdk-21-image-performance-improvements.html
Java 21: Performance Improvements Revealed
In Java 21, old code might run significantly faster due to recent internal performance optimizations made in the Java Core Libraries.
More @ https://minborgsjavapot.blogspot.com/2023/01/java-21-performance-improvements.html
JDK 21 Early-Access Build 9 is here:
http://jdk.java.net/21/
Release notes:
https://jdk.java.net/21/release-notes
Issues addressed in this build:
https://bugs.openjdk.org/issues/?jql=project%20%3D%20JDK%20AND%20fixversion%20%3D%2021%20and%20%22resolved%20in%20build%22%20%3D%20b09%20order%20by%20component%2C%20subcomponent