You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/06/08 09:01:27 UTC

[Bug 66633] New: Inconsistent Java requirement compared to whichversion.html

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: michaelo@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66633] Inconsistent Java requirement compared to whichversion.html

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66633

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
The Tomcat website always shows information for the latest release, not the
current HEAD of the development.

The minimum Java version was updated when 11.0.0-M7 was released which was the
release where the minimum Java version was raised to 21.

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


[Bug 66633] Inconsistent Java requirement compared to whichversion.html

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66633

Michael Osipov <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michaelo@apache.org

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


[Bug 66633] Inconsistent Java requirement compared to whichversion.html

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66633

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Well neither is Tomcat 11 ;)

We wanted to pick up virtual thread support and, given virtual threads just
moved out of preview and Jakarta EE 11 will have a minimum of Java 21, we
decided now was a good time to make the switch.

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


[Bug 66633] Inconsistent Java requirement compared to whichversion.html

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66633

--- Comment #2 from Michael Osipov <mi...@apache.org> ---
(In reply to Mark Thomas from comment #1)
> The Tomcat website always shows information for the latest release, not the
> current HEAD of the development.
> 
> The minimum Java version was updated when 11.0.0-M7 was released which was
> the release where the minimum Java version was raised to 21.

Fair deal, just turned out to be a surprise especially because Java 21 isn't GA
yet.

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