...
- New JDK 11 Language Features
- JEP 330: Launch Single-File Source-Code Programs – a new Java source file can be created in the Favorites window, it can be run, and debugged.
Impacted NetCAT test spec: Java Editor, cloned to 12.0: https://netbeans-vm.apache.org/synergy/client/app/#/specification/448
Task to be added to test spec: Run 12.0 on JDK 11 or above, open the Favorites window, create a new Java source file, add some code, run it, and debug it.
Status: to be doneDone. Added as test case 1 and 2 in the new section 22, "Single Java Source Files", of the above Java Editor test spec.
- JEP 330: Launch Single-File Source-Code Programs – a new Java source file can be created in the Favorites window, it can be run, and debugged.
- Miscellaneous New Java Editor Features
- "main" is a new shortcut, that does the same as "psvm", i.e., creates 'public static void main'
Impacted NetCAT test spec: Java Code Completion
Task to be added to test spec: Run 12.0 on JDK 8 or above, create any kind of Java application, add a Java source file, type 'main', without the quotes, press Tab to complete it, and you should see "public static void main" constructor.
Status: to be done
- "main" is a new shortcut, that does the same as "psvm", i.e., creates 'public static void main'
...