JEP 355: Text Blocks (Preview Feature), hint for converting to/from text blocks.Added as test case 2 in the new section 21, "Java Language Preview Features", of the above Java Editor test spec. Impacted NetCAT test spec: Java Editor, cloned to 12.0: Task to be added to test spec: Run 12.0 on JDK 13 or later, make sure to uninstall nb-javac if installed, create a Maven application and enable preview features (explain how), verify that the syntax colouring for switch expressions is correct by creating the code above, copy/paste from the test spec, and then seeing that the colors are like the above, not broken, no error markings. JEP 354: Switch Expressions (Preview Feature), as shown below.Added as test case 1 in the new section 21, "Java Language Preview Features", of the above Java Editor test spec. The syntax coloring should be not broken and the Navigator should show equals, hashCode, toString, x, y, etc. Public class Foo Impacted NetCAT test spec: Java Editor, cloned to 12.0: Task to be added to test spec: Run 12.0 on JDK 14, make sure to uninstall nb-javac if installed, create a Maven application and enable preview features (explain how), and create a class like the above, copy/pasted from the test spec.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |