资讯

Java 23, now generally available, includes previews of module import declarations, stream gatherers, structured concurrency, scoped values, and a class-file API. And much more.
Module import declarations, which was previewed in JDK 23 and JDK 24, enhances the Java language with the ability to succinctly import all of the packages exported by a module.