Bug 573744 - N&N for 4.20
Copy Java 16 entry from news repo
Change-Id: I46d742318e48e048129a5f0ebe0bb720ba03da65
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.common/+/181185
Tested-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com>
Reviewed-by: Lakshmi P Shanmugam <lshanmug@in.ibm.com>
diff --git a/bundles/org.eclipse.jdt.doc.user/topics_WhatsNew.xml b/bundles/org.eclipse.jdt.doc.user/topics_WhatsNew.xml
index cb3934b..96928c6 100644
--- a/bundles/org.eclipse.jdt.doc.user/topics_WhatsNew.xml
+++ b/bundles/org.eclipse.jdt.doc.user/topics_WhatsNew.xml
@@ -4,7 +4,7 @@
<!-- Define topics for the What's New -->
<!-- ================================ -->
<toc label="What's New">
- <!--topic href="whatsNew/jdt_whatsnew.html#JavaXX" label="Java XX Support"/-->
+ <topic href="whatsNew/jdt_whatsnew.html#Java16" label="Java 16 Support"/>
<topic href="whatsNew/jdt_whatsnew.html#JUnit" label="JUnit"/>
<topic href="whatsNew/jdt_whatsnew.html#JavaEditor" label="Java Editor"/>
<topic href="whatsNew/jdt_whatsnew.html#JavaViewsAndDialogs" label="Java Views and Dialogs"/>
diff --git a/bundles/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html b/bundles/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html
index ca0d2f9..84ccbfd 100644
--- a/bundles/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html
+++ b/bundles/org.eclipse.jdt.doc.user/whatsNew/jdt_whatsnew.html
@@ -26,7 +26,7 @@
for the 4.20 release of Eclipse.
They are grouped into:</p>
<ul> <!-- NOTE: Sync ../topics_WhatsNew.xml with this! -->
- <!--li><a href="#JavaXX">Java™ XX Support</a></li-->
+ <li><a href="#Java16">Java™ 16 Support</a></li>
<li><a href="#JUnit">JUnit</a></li>
<li><a href="#JavaEditor">Java Editor</a></li>
<li><a href="#JavaViewsAndDialogs">Java Views and Dialogs</a></li>
@@ -48,15 +48,33 @@
</colgroup>
<tbody>
- <!-- ******************* Java XX Support ************************************* -->
- <!--
+ <!-- ******************* Java 16 Support ************************************* -->
<tr>
- <td id="JavaXX" class="section" colspan="2">
- <h2>Java™ XX Support </h2>
- </td>
+ <td id="Java16" class="section" colspan="2">
+ <h2>Java™ 16 Support </h2></td>
</tr>
- -->
- <!-- ******************* End of Java XX Support ************************************* -->
+ <tr id="Java_16"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=565620 -->
+ <td class="title">Java 16</td>
+ <td class="content">
+ <a href="http://jdk.java.net/16/">Java 16</a> is out and Eclipse JDT supports Java 16 in 4.20.
+ <p></p>
+ <p>
+ The release notably includes the following Java 16 features:
+ <br/>
+ <a href="https://openjdk.java.net/jeps/394"> JEP 394: Pattern Matching for Instanceof (Final)</a>.
+ <br/>
+ <a href="https://openjdk.java.net/jeps/395"> JEP 395: Records (Final)</a>.
+ <br/>
+ <a href="https://openjdk.java.net/jeps/397"> JEP 397: Sealed Classes (Second Preview)</a>.
+ </p>
+ <p>
+ Please note that preview option should be on for <a href="http://openjdk.java.net/projects/jdk/16/"> preview language features</a>.
+ For an informal introduction of the support,
+ please refer to <a href="https://wiki.eclipse.org/Java16/Examples"> Java 16 Examples wiki</a>.
+ </p>
+ </td>
+ </tr>
+ <!-- ******************* End of Java 16 Support ************************************* -->
<!-- ******************* JUnit ************************************* -->
<tr>