Johannes Bechberger

@parttimenerd
400 Followers
90 Following
736 Posts
OpenJDK developer at SapMachine
bloghttps://mostlynerdless.de
Java 26 is here, but it's boring. Nothing really exciting. But that's a good thing, as the boring stability is what made Java successful:
https://mostlynerdless.de/blog/2026/03/17/java-26-is-boring-and-thats-a-good-thing/
Java 26 is boring, and that's a good thing - Mostly nerdless

Java 26 is here, but it's boring. Nothing really exciting. But that's a good thing, as the boring stability is what made Java successful.

Mostly nerdless

TIL: Removing the errorprone annotations package can reduce the JAR size by over 10MB (don't ask me why this package pulls in the google commons packages):

<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotation</artifactId>
<version>2.40.0</version>
<scope>compile</scope>
</dependency>

Dear Mastodon wisdom: I'm looking for an easy-to-host calendar application that supports CalDav / syncing to mobile devices. I'm just overwhelmed by the available choices. #diday
Parsing JSON is not hard; we can easily build a parser that directly follows a (transformed) JSON grammar, creating femtojson in the process: https://mostlynerdless.de/blog/2026/03/10/writing-a-tiny-json-parser/
Writing a tiny JSON Parser - Mostly nerdless

Parsing JSON is not hard, we can easily build a parser that directly follows a (transformed) JSON grammar, creating femtojson in the process.

Mostly nerdless
Java Heap Dumps might contain sensitive information; with hprof-redact, you can easily remove it. Learn more in this blog post: https://mostlynerdless.de/blog/2026/02/24/redacting-data-from-heap-dumps-via-hprof-redact/
Redacting Data from Heap Dumps via hprof-redact - Mostly nerdless

Java Heap Dumps might contain sensitive information, with hprof-redact you can easily remove it. Learn more in this blog post.

Mostly nerdless

Command-line parser libraries don't have to be big to support everything you need, like subcommands, validators, and Java-agent-style argument parsing: Introducing femtocli, with a 45KB JAR file.

Read more at https://mostlynerdless.de/blog/2026/02/16/femtocli-a-small-but-mighty-cli-library-for-small-cli-tools-in-45kb/

Femtocli: A small but mighty CLI library for small CLI tools in < 45KB - Mostly nerdless

Command-line parser libraries don't have to be big to support everything you need: Introducing femtocli, which is smaller than 45KB.

Mostly nerdless

Redact sensitive data from Java Flight Recorder and JVM crash logs with jfr-redact, a tool for safely sharing profiling and error files:

https://mostlynerdless.de/blog/2026/02/13/redacting-sensitive-data-from-java-flight-recorder-files/

Redacting Sensitive Data from Java Flight Recorder Files - Mostly nerdless

Redact sensitive data from Java Flight Recorder and JVM crash logs with jfr-redact, a tool for safely sharing profiling and error files.

Mostly nerdless
@markus Well I created my own CLI library now, because JCommander is too big and has no simple sub command support
Think you really know Java? ☕
Guess the Java version from code snippets in my Java Version Quiz: https://mostlynerdless.de/java-game/
Guess the Java version of a code snippet in this fun game

A game that let's you guess the Java version of snippets, from Java 1.0 to Java 25

@markus I didn't realize how big picocli is compared to jcommander (it's four times as big). So I'm using jcommander now :)