Excecuting main (see reproductions steps) results in ExecutionException with a NPE as cause. Exception in thread "main" java.util.concurrent.ExecutionException ...
So it is not clear if using Java 25 is safe now. The "code" is supported, but not "compiling" it? When using gradle configured for Java 25 (with the code obtained from gradle init) I can compile and ...