preview
2 tutorials tagged “preview”.
- Primitive Types in Patterns (Preview)A Java 25 preview: primitive type patterns in switch and instanceof, switching on long, double and boolean, and safe exactness checks for conversions.
- Structured Concurrency in JavaStructured concurrency (preview in Java 25) treats related subtasks as one unit with StructuredTaskScope: fork, join, and automatic cancellation when one fails.