Comment

Comment by ElectricalUnion

> The provided java snippet is vanilla valid

Did not you still need the `java --source 11 ${filename_without_java_extension_because_JEP_330}` to use it? And you still need a wrapper class with a static method main in it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton