Everything about

#core‑lang

Image with slug inner-null-checks
New Null Checks in Inner Class Constructors#post#java‑25 #core‑lang #migration
The Java compiler will now inject null checks for the outer instance into the constructor of inner classes
Image with slug annotation-processing-off
JDK 23 Changes Default Annotation Processing Policy#post#java‑23 #core‑lang #migration
Starting with JDK 23, annotation processors in the class path will no longer be executed without further javac configuration
Image with slug talk-java-var
Fun with var#talk#core‑lang #default‑methods #generics #lambda #java‑10 #var
A live-coding talk where I show off all you need to know about var in Java. And then some.
Image with slug java-var-anonymous-classes-tricks
Tricks with var and anonymous classes (that you should never use at work)#post#core‑lang #java‑10 #var
Local-variable type inference with var makes it easier to work with anonymous classes, e.g. for ad-hoc fields and methods. Don't do it, though!