Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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:
      Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status: Java Editor
      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 done
  • 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:
      Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status: 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
    • Support for inline parameter name hints for Java impacts the Java Editor test spec:


      Impacted NetCAT test spec: Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status: Java Editor
      Task to be added to test spec: Select View | Show Inline Hints, add the code above, copy/pasted from the test spec, and you should see the inline hints 'str' and 'fromIndex', like shown above. 
      Status: 
      to be done

Java EE

  • Java EE 8 support, for the first time since 11.1, for Maven-based and Gradle-based Web applications. The new Java EE 8 support provides the ability to create Java EE 8 applications and deploy to a Java EE 8 container, with new "webapp-javaee8" Maven archetype created for use with Apache NetBeans.



  • Support for JSF 2.3; CDI Changes for JSF Artifact Injection (introduced in 11.3), e.g., f:websocket is now supported:



  • Payara integration out of the box for the first time, including Payara Platform 5.194/5.201 support and Payara Server Hot Deploy support.

  • Support for GlassFish 5.0.1.

...