Speaker: Jan Lahoda (Oracle,
https://www.linkedin.com/in/jan-lahoda-58a3476/
Abstract:
The Java platform experiences an outburst of cool new features – new features added to the Java language include multi-line string literals, simple data carriers and pattern matching. Many library and Java Virtual Machine features were added as well, including virtual threads and an ability to interconnect Java and native code. Many more features are in the pipeline and are actively worked on. This includes value classes for the Java virtual machine and improvements to the pattern matching for Java. These features are delivered quickly, thanks to the recently adopted, predictable, six-months schedule of major Java SE releases. This new release cadence means new Java platform features are delivered twice every year!
In this talk, we will show a live demo of many of the recently added and newly developed features and improvements for the Java platform.
0:00 BrnoJUG introduction - Martin Stefanko
0:27 The Future of Java is Today - Jan Lahoda
1:04 A bit of JDK release history
3:06 What we'll talk about today
5:40 What version of JDK are you using
6:10 JEP 458 Launch Multi-File Source Code Programs
8:04 JEP 945 Simple Source Files and Instance Main Methods
13:13 JEP 286 Local Variable Type Inference from a different perspective
15:24 JEP 378 Text Blocks
16:30 JEP 361 Switch Expressions
20:00 JEP 395 Records
20:37 JEP 409 Sealed Types
22:17 Pattern Matching Journey
41:51 Flexible Constructor Bodies
44:42 Virtual Threads
52:52 Stable Values
1:00:47 Java Extension for VS Code
1:01:50 Questions
1:10:51 Closing remarks