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 443b48d Tweaks to Java section
443b48d is described below
commit 443b48d96e09908acfcf55768bca70a1666cf3e4
Author: Geertjan Wielenga <[email protected]>
AuthorDate: Wed Jun 3 12:56:06 2020 +0200
Tweaks to Java section
---
netbeans.apache.org/src/content/download/nb120/index.asciidoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/netbeans.apache.org/src/content/download/nb120/index.asciidoc
b/netbeans.apache.org/src/content/download/nb120/index.asciidoc
index 529be6a..e6d5f2b 100644
--- a/netbeans.apache.org/src/content/download/nb120/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb120/index.asciidoc
@@ -91,11 +91,11 @@ tasks.withType(JavaCompile).each {
run.jvmArgs(['--enable-preview'])
----
-TIP: To use JDK 14 features, such as the new "record" keyword, in the Java
Editor, you'll need to run Apache NetBeans 11.3 itself on JDK 14, so that
Apache NetBeans will use the Java compiler from JDK 14 for code recognition,
syntax coloring, etc. Also, make sure to uninstall nb-javac, if it is
installed, and not to install and use it, when prompted, so that the Java
compiler from JDK 14 will be used, rather than nb-javac, which does not support
JDK 14.
+TIP: To use JDK 14 features, such as the new "record" keyword, in the Java
Editor, you'll need to run Apache NetBeans itself on JDK 14, so that Apache
NetBeans will use the Java compiler from JDK 14 for code recognition, syntax
coloring, etc. Also, make sure to uninstall nb-javac, if it is installed, and
not to install and use it, when prompted, so that the Java compiler from JDK 14
will be used, rather than nb-javac, which does not support JDK 14.
Other enhancements in the Java area.
- link:https://openjdk.java.net/jeps/330[JEP 330]: Launch Single-File
Source-Code Programs -- single Java source files can be created, outside of
projects, in the Favorites window, and they can be run and debugged, if
NetBeans is running on JDK 11 or later.
-- link:https://openjdk.java.net/jeps/355[JEP 355]: Text Blocks (Preview) -- in
addition to the Text Block features introduced to the Java Editor in previous
11.x releases, a new Java editor hint has been introduced in 11.3 for reverting
from Text Block to String.
+- link:https://openjdk.java.net/jeps/355[JEP 355]: Text Blocks (Preview) -- in
addition to the Text Block features introduced to the Java Editor in previous
releases, a new Java editor hint has been introduced for reverting from Text
Block to String.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists