#java25 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #java25, aggregated by home.social.
-
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
Mutable state is a silent security risk. #Java25 gives developers better tools to stop it — before runtime. Mihaela Gheorghe-Roman shows how records & sealed hierarchies make unsafe states impossible by construction.
Read more: https://javapro.io/2025/12/30/security-in-the-age-of-java-25-new-language-tools-for-safer-code/
-
Mutable state is a silent security risk. #Java25 gives developers better tools to stop it — before runtime. Mihaela Gheorghe-Roman shows how records & sealed hierarchies make unsafe states impossible by construction.
Read more: https://javapro.io/2025/12/30/security-in-the-age-of-java-25-new-language-tools-for-safer-code/
-
ThreadLocal breaks with #VirtualThreads. @chwoerz explains why — and how ScopedValue replaces it with safe, immutable, scope-bound context propagation. Migrating to #Java25?
Read this first: https://javapro.io/2025/12/23/java-25-getting-the-most-out-of-virtual-threads-with-structured-task-scopes-and-scoped-values/
-
100k blocking tasks. A few seconds. On a laptop. With #VirtualThreads in #Java25, that’s reality. Mihaela Gheorghe-Roman explains what changed since #JDK21 & why thread-per-request is back. Still running huge thread pools?
Rethink: https://javapro.io/2026/03/05/java-25-and-the-new-age-of-performance-virtual-threads-and-beyond/
-
Declarative pipelines. Lazy evaluation. Batched #Gatherers. #JavaStreams evolved into a flexible data processing framework. Mihaela Gheorghe-Roman offers a practical timeline from #Java 8 to 24—plus common pitfalls to avoid: https://javapro.io/2025/11/13/java-streams-evolution-from-java-8-to-today/
-
The #JVM warmup tax is real & #Java25 finally attacks it head-on. AOT profiling, Project Leyden speedups, and sharper #JFR events. @hannotify shows where you win #Performance back.
Steal the exact JEPs to cut startup + warmup time: https://javapro.io/2026/02/12/heres-java-25-ready-to-perform-to-the-limit/
-
100k blocking tasks. A few seconds. On a laptop. With #VirtualThreads in #Java25, that’s reality. Mihaela Gheorghe-Roman explains what changed since #JDK21 & why thread-per-request is back. Still running huge thread pools?
Rethink: https://javapro.io/2026/03/05/java-25-and-the-new-age-of-performance-virtual-threads-and-beyond/
-
Thread leakage is the silent killer of “quick parallelization.” #StructuredConcurrency makes sure child tasks end with the parent scope—by design.
Learn the shutdown patterns + how they behave in failure scenarios: https://javapro.io/2026/01/28/how-to-do-structured-concurrency-in-java-25/
via @hannotify & Bram Janssens -
Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?
-
Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?
-
#Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?
Read more: https://javapro.io/2026/02/24/javas-productivity-trifecta-compact-sources-flexible-constructors-and-advanced-pattern-matching/
#PatternMatching -
#Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?
Read more: https://javapro.io/2026/02/24/javas-productivity-trifecta-compact-sources-flexible-constructors-and-advanced-pattern-matching/
#PatternMatching -
Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.
Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/
-
Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.
Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/
-
Still treating immutability as a startup-time penalty? #Java25’s Stable Values change that contract. @hannotify dives into the feature that every backend dev should understand early.
Learn it before it’s default: https://javapro.io/2026/02/12/heres-java-25-ready-to-perform-to-the-limit/
-
The #JVM warmup tax is real & #Java25 finally attacks it head-on. AOT profiling, Project Leyden speedups, and sharper #JFR events. @hannotify shows where you win #Performance back.
Steal the exact JEPs to cut startup + warmup time: https://javapro.io/2026/02/12/heres-java-25-ready-to-perform-to-the-limit/
-
I can finally announce a small little project I've worked on for a while: "hybuild".
It's an #gradle #plugin, which should help #modders of #hytale with easier building of their #mods.
Currently, it supports detecting the hytale installation on your PC as well as deriving various paths like the server's jarfile from it.
It also adds launch configurations so you can more easily launch your debugging server from a simple gradle command.I'm already using it myself to build my (indev) mods, and it works flawlessly.
That being said it's still very early in development, and certain platforms I dont have access to might be still sub-optimal (primarily MacOS). If you have an non-linux workflow and find any bugs, please reach out (or open an issue) so the plugin can be improved!
It's available from source and as a maven dependency; More about it at the work-in-progress documentation! (Currently only via the readme in the source repository; but I'm working on an website!)
#programming #java #java25 #development #software #buildtools #modding #moddingtools
-
Do you still need reactive programming for high throughput? @chwoerz shows how #VirtualThreads + #StructuredConcurrency handle fan-out calls cleanly and synchronously.
See the #Java25 approach & learn more: https://javapro.io/2025/12/23/java-25-getting-the-most-out-of-virtual-threads-with-structured-task-scopes-and-scoped-values/
-
Thread leakage is the silent killer of “quick parallelization.” #StructuredConcurrency makes sure child tasks end with the parent scope—by design.
Learn the shutdown patterns + how they behave in failure scenarios: https://javapro.io/2026/01/28/how-to-do-structured-concurrency-in-java-25/
via @hannotify & Bram Janssens -
Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.
Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/
-
Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.
Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/
-
Java still feels “too heavy” for quick learning? @igfasouza shows how #Java25 + #JEP512, #JBang & notebooks make experimentation fast—then connects it to real hardware via #RaspberryPi + #GraalPy.
Try the stack: https://javapro.io/2026/01/15/java-25-jep-512-jbang-notebooks-graallpy-and-raspberry-pi-for-interactive-learning/
-
Are you using parallelStream() without profiling? Or still writing Collectors.toList() manually? #JavaStreams have evolved—Mihaela Gheorghe-Roman breaks down what modern #Java offers you from 8 to 24: https://javapro.io/2025/11/13/java-streams-evolution-from-java-8-to-today/
-
#VirtualThreads scale concurrency—but they don’t fix structure or error handling. @chwoerz shows how StructuredTaskScope and ScopedValue complete the picture in #Java25. Want safer, faster concurrent code?
-
Still making sequential remote calls even with #VirtualThreads? @chwoerz explains how StructuredTaskScope cuts latency by running tasks concurrently—without reactive complexity. Curious how it works?
-
Now double at #JCON Berlin: the new #JAVAPRO issue AND our “30 Years of #Java” edition! Featuring #Java25, #VirtualThreads, #StructuredConcurrency & #GenAI.
Stop by & grab your free copies!Can’t attend? Download or subscribe: https://javapro.io/2025/10/28/stay-updated-with-every-new-free-pdf-edition-2/
-
binjr v3.25.0 is now available! 🎉
Aside from being based on the latest #Java25 runtime — making this a somewhat themed release — the main features this time around are:
- Much improved support for the #ZGC garbage collector logs files for the #OpenJDK #JVM.
- Improvements to handling of CSV files, with things like support for comments and better number parsing for uncommon notations.
- Bug fixes and quality of life enhancements.
Full changelog and download links at https://binjr.eu
-
What's new in Java 25 for developers
Review the stable and preview features in this new LTS release of Java
https://developer.ibm.com/articles/java-whats-new-java25/
#Java #JDK25 #Java25 -
Writing Friday: On #JEP506, #ScopedValues
What are they and how can they be used?
https://michael-simons.eu/p/JEP506_what-are-scoped-values-and-how-can-they-be-used.html
-
What's new in Java 25 for developers
https://developer.ibm.com/articles/java-whats-new-java25/
#Java #jdk25 #java25 -
Java 25 LTS arrived at the @eclipseadoptium Temurin builds. Nice.
-
Java 25 / JDK 25: Features since the previous long-term support (LTS) release from most vendors: https://openjdk.org/projects/jdk/25/jeps-since-jdk-21
-
📢 #𝐉𝐚𝐯𝐚𝟐𝟓 𝐢𝐬 𝐡𝐞𝐫𝐞 𝐰𝐢𝐭𝐡 𝐦𝐚𝐣𝐨𝐫 𝐮𝐩𝐠𝐫𝐚𝐝𝐞𝐬!
𝐖𝐡𝐚𝐭’𝐬 𝐧𝐞𝐰❓
✅ 18 JEPs in the final feature set
✅ 7 features finalized after incubation & preview
✅ 9 features focused on performance & runtimeLearn more about these upgrades for developers & production workloads: https://bit.ly/3ItYzsO
-
Java 25 has been released, congrats for this milestone!
Of course, API documentation is readily available on APIdia:
https://apidia.net/java/OpenJDK 😎 -
Java 25 felt it was a good time to remind the world that if you're not confused by #tar.gz and #sha256, you're not doing it right! 🙃 Open source #JDK 25 struts in, throwing around its "General Availability" like anyone cares. Meanwhile, Oracle's commercial version stands in the corner, charging a fee just for existing. 💸
https://jdk.java.net/25/ #Java25 #OpenSource #Oracle #HackerNews #ngated -
Java 25 General Availability
#HackerNews #Java #25 #General #Availability #Java25 #JDK25 #SoftwareDevelopment #TechNews #Programming
-
First JDK 25 Release Candidate: https://mail.openjdk.org/pipermail/jdk-dev/2025-August/010296.html
Downloads: https://jdk.java.net/25/