https://bz.apache.org/bugzilla/show_bug.cgi?id=66633

            Bug ID: 66633
           Summary: Inconsistent Java requirement compared to
                    whichversion.html
           Product: Tomcat 11
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: dev@tomcat.apache.org
          Reporter: micha...@apache.org
  Target Milestone: -------

whichversion.html says about Tomcat 11:
Supported Java Versions:        17 and later, but yet:
osipovmi@deblndw011x:/var/osipovmi/Projekte/tomcat (apache-main *=)
$ git diff
diff --git a/build.xml b/build.xml
index b8f940bd86..3162aef501 100644
--- a/build.xml
+++ b/build.xml
@@ -105,9 +105,9 @@

   <!-- Jakarta EE 11 platform requires Java 21+ -->
   <!-- Keep in sync with webapps/docs/tomcat-docs.xsl -->
-  <property name="compile.release" value="21"/>
-  <property name="min.java.version" value="21"/>
-  <property name="build.java.version" value="21"/>
+  <property name="compile.release" value="17"/>
+  <property name="min.java.version" value="17"/>
+  <property name="build.java.version" value="17"/>

   <!-- Locations to create the JAR artifacts -->
   <!-- Standard JARs -->

gives me

    [javac]   location: class Thread
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 12 errors
    [javac] 2 warnings

BUILD FAILED
/var/osipovmi/Projekte/tomcat/build.xml:992: Compile failed; see the compiler
error output for details.

I guess docs are outdated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to