On Fri, Jul 3, 2020 at 10:38 AM <r...@apache.org> wrote:

> This is an automated email from the ASF dual-hosted git repository.
>
> remm pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>      new 7763877  Direct use of the ALPN API
> 7763877 is described below
>
> commit 7763877a98e5c74bb579b64f31e938fea17290a5
> Author: remm <r...@apache.org>
> AuthorDate: Fri Jul 3 10:37:58 2020 +0200
>
>     Direct use of the ALPN API
>
>     Tomcat 10 will now require at least Java 8_251, which was released in
>     April 2020, for TLS support. Any Java 9+ JVM will work too.
>     This will not be backported to Tomcat 9.0 as it slightly changes the
>     APIs, although the changes are trivial.
>

Ok, so I messed up (I always use Java 8 to build):
https://github.com/apache/tomcat/actions/runs/156360081

Basically, if compiling for 8 as a source/target/release, 11 will produce
(bogus) compilation errors. Setting the target for 9 works for compiling
the classes but isn't a solution obviously. So Tomcat only builds on 8 now
:( Unless there's another compiler parameter to avoid that, there's no
option but to revert and go back to using reflection.

Rémy

Reply via email to