Skip to content

Commit

Permalink
Added JDT Java compiler entry for removed Java 7 support in ecj
Browse files Browse the repository at this point in the history
Added an entry for JDT, mentioning the removal of source, target and
release Java 7 and below.

See the respective JDT issue:
eclipse-jdt/eclipse.jdt.core#2536
Signed-off-by: Simeon Andreev <[email protected]>
  • Loading branch information
trancexpress authored and iloveeclipse committed Aug 26, 2024
1 parent eeb2d82 commit 8d734e8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions news/4.33/jdt.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,21 @@ <h2>Java Views and Dialogs</h2>
<h2>Java Compiler</h2>
</td>
</tr>

<tr id="removed-support-for-java7-and-below">
<td class="title"><a href="#removed-support-for-java7-and-below">Removed support for souce, target and release Java 7 and below</a></td>
<td class="content">
<!-- https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/1367 -->
<p>The following compiler options are now supported only for Java 8 and above:
<pre>
--source &lt;release&gt;
--target &lt;release&gt;
--release &lt;release&gt;
</pre>
<p>I.e., from Eclipse 4.33 onward, the Eclipse IDE and <code>ecj</code> will no longer be able to produce JRE 7 (and below) compliant byte code, as the options metioned above are supported only for Java 8+.</p>
<p>This is the equivalent of Java 21's <code>javac</code> only supporting those options for Java 8+.</p>
</td>
</tr>
<!-- ******************* End of Java Compiler ************************************* -->

<!-- ******************* Java Formatter ************************************* -->
Expand Down

0 comments on commit 8d734e8

Please sign in to comment.