You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/07/27 15:14:07 UTC

[tomcat] branch main updated: The minimum Java version for the Jakarta 10 platform will be Java 11

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f41348  The minimum Java version for the Jakarta 10 platform will be Java 11
5f41348 is described below

commit 5f4134894a3744647a4671faa4140555f1013abc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jul 27 16:13:54 2021 +0100

    The minimum Java version for the Jakarta 10 platform will be Java 11
---
 BUILDING.txt               |  4 ++--
 build.xml                  | 10 +++++-----
 webapps/docs/changelog.xml |  7 +++++++
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/BUILDING.txt b/BUILDING.txt
index 6f95801..f8500fc 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -36,8 +36,8 @@ source distribution, do the following:
 
  1. If the JDK is already installed, skip to (2).
 
- 2. Download a version 8 of Java Development Kit (JDK) release (use the
-    latest update available for your chosen version) from one of:
+ 2. Download a version @MIN_JAVA_VERSION@ or later of Java Development Kit (JDK) release (use
+    the latest update available for your chosen version) from one of:
 
         http://www.oracle.com/technetwork/java/javase/downloads/index.html
         http://openjdk.java.net/install/index.html
diff --git a/build.xml b/build.xml
index 4ca8941..2f02de7 100644
--- a/build.xml
+++ b/build.xml
@@ -98,11 +98,11 @@
   <!-- build output directory for generated reflectionless code -->
   <property name="tomcat.xreflect"       value="${tomcat.output}/xreflect"/>
 
-  <!-- Jakarta EE 9 specs requires Java 8+ -->
-  <property name="compile.source" value="8"/>
-  <property name="compile.target" value="8"/>
-  <property name="compile.release" value="8"/>
-  <property name="min.java.version" value="8"/>
+  <!-- Jakarta EE 10 platform requires Java 11+ -->
+  <property name="compile.source" value="11"/>
+  <property name="compile.target" value="11"/>
+  <property name="compile.release" value="11"/>
+  <property name="min.java.version" value="11"/>
 
   <!-- Locations to create the JAR artifacts -->
   <!-- Standard JARs -->
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 4e812c2..2be88c9 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -105,6 +105,13 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 10.1.0-M3 (markt)" rtext="in development">
+  <subsection name="General">
+    <changelog>
+      <update>
+        Update the minimum required Java version to Java 11. (markt)
+      </update>
+    </changelog>
+  </subsection>
   <subsection name="Catalina">
     <changelog>
       <scode>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [tomcat] branch main updated: The minimum Java version for the Jakarta 10 platform will be Java 11

Posted by Mark Thomas <ma...@apache.org>.
On 27/07/2021 16:14, markt@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> markt pushed a commit to branch main
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
> 
> 
> The following commit(s) were added to refs/heads/main by this push:
>       new 5f41348  The minimum Java version for the Jakarta 10 platform will be Java 11
> 5f41348 is described below
> 
> commit 5f4134894a3744647a4671faa4140555f1013abc
> Author: Mark Thomas <ma...@apache.org>
> AuthorDate: Tue Jul 27 16:13:54 2021 +0100
> 
>      The minimum Java version for the Jakarta 10 platform will be Java 11

I'm expecting lots of CI stuff to start breaking. I'll fix it as I see it.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org