Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed header note about NetBeans 9.0 not being released.

NetBeans 9 runtime platforms are only JDK8 and , JDK9, JDK10. Until JDK9 is GA it is recommended to run NB9 on top of JDK8 which is more stable. JDK9 JDK9 and JDK10 can be used as Projects Java Platform even NetBeans itself is running on top of JDK8.

Table of Contents
outlinetrue

 

...

JDK 10 – Local Variable Type Inference

Hints and refactorings for transforming to/from the new "var" type:

Image Added

JDK 9 – Java Platform Module System Support

Java Application project extensions

NetBeans 9 supports provides features to support JPMS (Jigsaw) to full extent. Modulepath was added as a crucial paradigm to NetBeans in addition to Classpath.

...

The picture below shows the structure of JavaSE projects with JUnit tests in same module and with own module:

Java Modular Application Project type

New project called Java Modular project was added. This allows to develop several JDK9 modules in one NetBeans project (Ant based). Advantage of this project over several Java SE project each containing 1 module is that dependencies are simply managed by declaring appropriate exports and requires in module-info.java files and all modules in the project are being compiled at once.

...

Following picture depicts how Java Modular Project can look like.


Other Java 9 features

Every JavaSE (with module-info.java) or Java Modular App project can be packaged into JLink image allowing seamless distribution of app and required modules.

...

HTML5 tags are supported in NetBeans editor and HTML5 JavaDoc can be generated using projects Properties | Documenting customizer.

...

JDK 9

...

– JavaShell

Java Shell is a tool in JDK9 defined in JEP 222 to introduce REPL (read-eval-print-loop) capabilities to Java. NetBeans provides integrated console-like UI for the Java Shell, leveraing NetBeans editor capabilites. NetBeans can support the tool with the user project configuration, so the Java Shell is set up to work with project classes and libraries.

...

The developer can use Java Shell as an agent within the running process (even without a debugger), to inspect internal state, alter it and trigger events.

Image Added

Snippets written in JShell can be redefined and tested, even against a running code. When prototype is ready, it can be saved to a regular java source file and integrated with the project.


PHP

 

All the PHP support for NetBeans 9 was contributed by our NetBeans user Junichi Yamamoto.

PHP 7.1 Support

 

  • Class constant visibility

Image Removed

Image Removed

 

  • Multi catch exception handling

Image Removed

 

  • Nullable types

Image Removed

 

  • Support for keys in list()

Image Removed

 

  • Coloring for new keywords(void, iterable)

Image Removed

 

  • PHP version in Project Properties dialog

Image Removed

PHP 7.0 Support

 

  • Context sensitive lexer

Image Removed

Editor

 

...

Java Profiler

Profiler Results Improvements

Actions to expand and collapse nodes have been added to the profiler treetable results. For example, the Expand Topmost Path action makes it very easy to select the performance bottleneck in the EDT. For Methods results the Show Only This Thread and Hide This Thread actions have been added.

Image Added

Resizable Popups

The popups used to configure the profiler or filter the results can now be resized, which makes it easier to handle long class or method names.

Image Added