Topic

Java

Monitor Java ecosystem developments covering JVM releases, framework updates, and library evolutions. Our digest aggregates Spring ecosystem news, Jakarta EE progress, and performance tuning from developer communities.

What this topic tracks

  • Language releases and proposals
  • Libraries, tooling, and ecosystem updates
  • Performance, idioms, and production lessons

Java · 32 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Java4Shell: RCE in OpenJDK when processing Base64

calif.io · 17 Nov

Cybersecurity · Java · Low-Level Programming

Calif disclosed Java4Shell (CVE-2026-114938), a critical OpenJDK memory-corruption flaw in the x86-64 AVX-512 VBMI Base64 intrinsic.

Malformed input—64 “A” characters followed by “=”—can trigger a 64-byte write past a Java array, enabling heap disclosure and potentially RCE; OpenJDK 17 uses 128 “A” characters. Tested applications including Keycloak, Jira, Jenkins, and Elasticsearch were exploitable under various conditions. OpenJDK issued patches; users should update or disable Base64 intrinsics/AVX-512.

NationalSecurityAgency/ghidra

github.com · 14 Oct

Cybersecurity · Java

Ghidra is an NSA Research Directorate software reverse engineering framework for analyzing compiled code on Windows, macOS, and Linux.

Its integrated tools provide disassembly, assembly, decompilation, graphing, scripting, broad processor and executable-format support, and interactive or automated operation. Ghidra addresses scaling and collaboration challenges in complex reverse-engineering work while offering an extensible platform where users can create Java or Python scripts and extensions for malware and vulnerability analysis.

Maintaining the code of the man who wrote "How To Write Unmaintainable Code"

github.com · 16 Jul

Java · Software Architecture · Open Source

This project revives Roedy Green's Mini PAD Submitter, a legacy Java tool for distributing software PAD files.

By fixing HTTPS support, SNI handshakes, and redirect handling, the update restores functionality to modern web environments. It also replaces hardcoded site lists with an external text file, allowing users to update submission targets without recompiling the source code.

Project Valhalla, Explained: How a Decade of Work Arrives in JDK 28

jvm-weekly.com · 18 Jun

Artificial Intelligence · Java · Performance

Project Valhalla arrives in JDK 28 as a preview feature, introducing value classes to Java.

This update allows for memory-efficient, flat layouts by removing object identity, bridging the performance gap between primitives and classes. While it marks a fundamental shifts in JVM memory management, full features like non-nullable types and specialized generics are planned for future releases.

TIL: 0xCAFEBABE

artima.com · 21 Sept

Java · Programming Languages · History

Java class files begin with the magic number 0xCAFEBABE, chosen to identify valid files.

Patrick Naughton explained that the team selected it before the name Java existed because it was fun, unique, and memorable; 0xDEADBABE was the rejected alternative. Its coffee association with Peet’s Coffee was coincidental.

Java is fast, code might not be

jvogel.me · 20 Mar

Backend · Java · Performance

Optimizing a Java order-processing application involved identifying eight common performance anti-patterns, such as inefficient string concatenation, autoboxing, and object reuse issues.

By replacing these patterns with optimized alternatives, throughput increased by five times, heap usage dropped by 87%, and GC pauses decreased significantly, proving that small code-level optimizations yield massive benefits when scaled across production fleets.

Someone reported java4shell bug in September 2026

github.com · 19 Nov

Cybersecurity · Java · Low-Level Programming

A java4shell bug in OpenJDK’s x86_64 AVX-512 VBMI Base64 decoder can corrupt the heap on invalid inputs.

In StubGenerator::generate_base64_decodeBlock(), L_finalBit mishandles 1–63 leftover bytes: when length < 4, output_size begins at zero, padding decrements it below zero, and the resulting output_mask permits stores beyond the logical output length. The proposed fix is to return to Java early for length < 4. The change targets issue 8392044 and requires two reviews.

A 40-line fix eliminated a 400x performance gap

questdb.com · 13 Jan

Java · Linux · Performance

A significant performance optimization has been implemented in OpenJDK, specifically affecting the ThreadMXBean.getCurrentThreadUserTime() method on Linux.

Previously, this method relied on a costly procedure of opening and parsing /proc/self/task/stat files to retrieve user CPU time. This legacy approach suffered from high overhead due to multiple system calls, VFS dispatch, and buffer management. By replacing this mechanism with a direct call to clock_gettime() using a specialized Linux-specific clock ID bitmask, developers achieved a 30x to 400x performance improvement. The new implementation leverages a long-standing but obscure Linux ABI feature that encodes clock types directly into the clockid_t. This change underscores the value of revisiting legacy code and utilizing kernel-specific optimizations over generic POSIX implementations to eliminate significant performance bottlenecks in high-concurrency environments.

Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder

runtimewire.com · 17 Nov

Cybersecurity · Java

Calif disclosed Java4Shell, a memory-corruption flaw in OpenJDK’s optimized Base64 decoder, claiming it enables unauthenticated remote code execution.

The disclosure says attackers can remotely overwrite heap memory without credentials. Upwind reproduced a 62-byte overflow but said code execution has not yet been proven, leaving the vulnerability’s ultimate impact unresolved. The flaw matters because it affects a core Java component used to process Base64 data.

Java 26 released today!

jdk.java.net · 17 Mar

Java · Programming Languages · Open Source

OpenJDK JDK 26 GA has been released, offering production-ready builds of the Java SE 26 platform under the GPLv2 license with Classpath Exception.

The release supports multiple operating systems and architectures, including Linux, macOS, and Windows. Users are encouraged to provide feedback through the official bug-reporting channel.

Minecraft: Java Edition now uses SDL3

minecraft.net · 16 Jul

Java · Performance · Software Architecture

Minecraft Java Edition Snapshot updates to SDL3 for improved window and input management.

Key changes include new data components for furnace and brewing fuels, sign text, and villagers. The update also features major technical improvements for loot tables, predicates, and noise settings in world generation, alongside numerous bug fixes across game mechanics and UI.

Java 27 Released

mail.openjdk.org · 15 Sept

Java · Programming Languages · Open Source

JDK 27, the reference implementation of Java 27, is now Generally Available as build 35, following a clean second Release Candidate.

It is production-ready and available through GPL-licensed OpenJDK builds from Oracle. Highlights include G1 as the default garbage collector, post-quantum TLS 1.3 key exchange, Compact Object Headers, JFR data redaction, and several preview or incubating features.

I Put a Full JVM Inside a Browser Tab

bmarti44.substack.com · 3 Mar

Cloud Computing · Java · Linux

JavaBox is a proof-of-concept project that runs a full OpenJDK environment inside a browser via WebAssembly.

By emulating an x86_64 Linux kernel using QEMU and a custom CompileServer daemon, it bypasses slow startup times to execute Java code entirely client-side, demonstrating high-level abstraction layers and the modern capabilities of browser-based emulation.

[IntelliJ] Wayland By Default in 2026.1 EAP

blog.jetbrains.com · 4 Feb

Java · Linux · Open Source

JetBrains has announced that starting with version 2026.1 EAP, all IntelliJ-based IDEs will transition to running natively on Wayland by default for supported Linux desktop environments.

This shift aligns with Wayland becoming the primary display server across modern Linux distributions. While the user interface remains familiar, technical differences in Wayland mean the window manager now controls window positioning, affecting dialog placement and the visibility of the startup splash screen. JetBrains has improved stability, drag-and-drop, and input method support since the initial preview. For environments where Wayland is not supported, X11 remains functional via XWayland. This initiative is part of JetBrains' commitment to the OpenJDK project Wakefield, ensuring Java applications perform natively and efficiently on modern Linux architecture while maintaining an open-source development model.

Java 26 is here

hanno.codes · 17 Mar

Java · Performance · Programming Languages

Java 26 introduces several key enhancements, including GC-agnostic object caching and G1 GC performance improvements.

It adds HTTP/3 support to the HTTP Client API and features continued previews of structured concurrency, lazy constants, the Vector API, and primitive types in patterns, while deprecating the Applet API and tightening final field mutation via deep reflection.

JVM Options Explorer

chriswhocodes.com · 12 Apr

Database · Java · Performance

This table lists various Java Virtual Machine (JVM) configuration flags and options, detailing their names, associated OpenJDK versions, deprecation status, types, operating system compatibility, CPU architectures, components, and primary functional descriptions.

These flags are critical for tuning memory management, garbage collection, and Just-In-Time (JIT) compilation performance.

"Giving up upstream-ing my patches & feel free to pick them up"

mail.openjdk.org · 31 Jan

Java · Law · Open Source

A contributor named Bingwu Zhang shared a frustrating experience regarding the Oracle Contributor Agreement (OCA) process for OpenJDK.

Despite attempting to submit patches since January 2025, the contributor faced a year-long delay without approval or rejection from Oracle. Despite multiple follow-ups, the process remained stalled in a repetitive cycle of apologies without progress. Suspecting geopolitical or export control factors due to being based in Mainland China, the author eventually decided to cease their efforts to upstream the code. Consequently, the contributor released several technical patches related to llvm-config checks and thread stack size adjustments for the zero variant, inviting other developers to rewrite and submit them to bypass the stalled OCA. This case highlights significant bureaucratic hurdles within major open-source ecosystems managed by corporate entities.

Java4Shell: pre-auth RCE flaw in Java 17 puts servers at risk (CVE-2026-114938)

aikido.dev · 17 Nov

Backend · Cybersecurity · Java

Java4Shell (CVE-2026-114938) is a reported unauthenticated remote code execution flaw affecting Oracle Java SE 17, 21, 25, and 27 releases before 17.0.21.1, 21.0.13.1, 25.0.5.1, and 27.0.1.1, rated 9.2 under CVSS 4.0.

Oracle issued fixes on November 17, 2026; Java SE 8 and 11 are not affected by this CVE. Technical exploitation details remain unpublished, and no in-the-wild exploitation was reported as of November 17. Update all Java runtimes, bundled JDKs, and container images with vendor fixes, prioritizing internet-facing services.

Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM

defusedcyber.com · 9 Feb

Cybersecurity · Java · News

Security researchers have identified a sophisticated campaign targeting Ivanti Endpoint Manager Mobile (EPMM) that utilizes dormant 'Sleeper Shells.'

Unlike typical rapid-exploitation attacks, this operation involves deploying an in-memory Java class loader at /mifs/403.jsp and then going silent. The loader, identified as base.Info, does not execute commands immediately but acts as a staging mechanism for a secondary payload to be delivered via HTTP parameters. This behavior is highly characteristic of Initial Access Brokers (IABs) who establish a persistent foothold to sell or hand off to other cybercriminals later. The implant resides solely in memory, making it invisible to many traditional antivirus solutions. Defending against such threats requires immediate patching of CVE-2026-1281 and CVE-2026-1340, followed by a full server restart to flush the volatile memory. Organizations are urged to hunt for specific indicators of compromise, such as the k0f53cf964d387 parameter, to ensure their environments are not silently compromised.

Where it came fromHacker NewsRedditLobstersGitHubCreate a Snapbyte.dev digest and choose Java as one of your topics.Build your digest