Description
Add linking classes in Java 14 for JEP 358 (Helpful NullPointerExceptions) and JEP 368 (Text Blocks - Second Preview) that point to their respective finalized demos in Java 17.
Details
Currently, Java 14 has demos for:
- JEP 305 (Pattern Matching for instanceof - Preview)
- JEP 359 (Records - Preview)
- JEP 361 (Switch Expressions)
- JEP 370 (Foreign-Memory Access API - Incubator)
However, two important Java 14 features are missing linking classes:
-
JEP 358 - Helpful NullPointerExceptions
- Finalized demo exists in
java17/nullpointer/NullPointerDemo.java
- Need to create linking class in
java14/jep358/
-
JEP 368 - Text Blocks (Second Preview)
- Finalized demo exists in
java17/textblock/TextBlockDemo.java
- Need to create linking class in
java14/jep368/
Tasks
Description
Add linking classes in Java 14 for JEP 358 (Helpful NullPointerExceptions) and JEP 368 (Text Blocks - Second Preview) that point to their respective finalized demos in Java 17.
Details
Currently, Java 14 has demos for:
However, two important Java 14 features are missing linking classes:
JEP 358 - Helpful NullPointerExceptions
java17/nullpointer/NullPointerDemo.javajava14/jep358/JEP 368 - Text Blocks (Second Preview)
java17/textblock/TextBlockDemo.javajava14/jep368/Tasks
java14/jep358/HelpfulNullPointerExceptionsPreview.java(linking class)java14/jep368/TextBlocksSecondPreview.java(linking class)JDK14Info.jsonwith entries for JEP 358 and 368Java14DemoLoader.java