This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-website.git
The following commit(s) were added to refs/heads/master by this push: new ad02ea9 Update index.asciidoc ad02ea9 is described below commit ad02ea972e41517eab9bface31383aa650d29844 Author: Geertjan Wielenga <geertjan.wiele...@oracle.com> AuthorDate: Wed Oct 23 23:20:48 2019 +0200 Update index.asciidoc --- .../src/content/download/nb112/index.asciidoc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/netbeans.apache.org/src/content/download/nb112/index.asciidoc b/netbeans.apache.org/src/content/download/nb112/index.asciidoc index c757178..5dd841d 100644 --- a/netbeans.apache.org/src/content/download/nb112/index.asciidoc +++ b/netbeans.apache.org/src/content/download/nb112/index.asciidoc @@ -56,6 +56,27 @@ image::jdk13-yield.png[role="left", link="jdk13-yield.png"] image::jdk13-textblock.png[role="left", link="jdk13-textblock.png"] -- +TIP: link:https://openjdk.java.net/jeps/12[JEP 12] provides for a preview language or VM feature, which "is a new feature of the Java SE Platform that is fully specified, fully implemented, and yet impermanent. It is available in a JDK feature release to provoke developer feedback based on real world use; this may lead to it becoming permanent in a future Java SE Platform. + +Preview features can only be used if the Java compiler's "--enable-preview" flag is set, as shown below for Maven. + +[source,xml] +---- +<build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.0</version> + <configuration> + <compilerArgs> + <arg>--enable-preview</arg> + </compilerArgs> + </configuration> + </plugin> + </plugins> +</build> +---- + === PHP The highlights of enhancements in the PHP area are focused on support for PHP 7.4. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists