On potential memory leak caused by double brace initialization (something along the lines of
#java #memory #leak
new HashMap<>() {{ ... }}) in Java. I believe I had to fix several such leaks in our app long time ago.#java #memory #leak
👍1
My man is breaking
#java #string
java.lang.String. To make a String not .equals to itself and stuff like that. Amazing! Just imagine maliciously adding code breaking e.g. interned "id" to some popular lib.#java #string
My man has implemented a toy JVM in Rust. Here you'll find a series of posts with details on .class files, bytecode and other aspects of his rjvm thingy.
#java #jvm #rust
#java #jvm #rust
Can't even add anything here, the title pretty much speaks for itself: A one-sentence summary of each new JEP from JDK 21
#java #jdk
#java #jdk