https://www.heise.de/blog/Der-Java-Release-Train-7350614.html
https://www.heise.de/blog/Der-Java-Release-Train-7350614.html
https://www.heise.de/blog/Der-Java-Release-Train-7350614.html
: --enable-preview
ย Gerrit Grunwald: Welcome to The Jungle - A Safari Through The JVM Landscape
javax.*ย to jakarta.*
String query = """
SELECT "EMP_ID", "LAST_NAME" FROM "EMPLOYEE_TB"
WHERE "CITY" = 'INDIANAPOLIS'
ORDER BY "EMP_ID", "LAST_NAME";
""";record Point(int x, int y) { }
...
var p = new Point(1, 2);
p.x(); switch (day) {
case MONDAY, FRIDAY, SUNDAY -> System.out.println(6);
case TUESDAY -> System.out.println(7);
case THURSDAY, SATURDAY -> System.out.println(8);
case WEDNESDAY -> System.out.println(9);
}enum Decision { YES, NO }
static void decide(Decision c) {
switch (c) {
case null -> System.out.println("undecided");
case YES -> System.out.println("yes");
case NO -> System.out.println("no");
}
}when
default
โ๏ธย jens@openvalue.de
ย ย ย @jensknipper.de
๐ openvalue.eu