On Thu, May 16, 2024 at 12:20 PM Mark Thomas <ma...@apache.org> wrote:
>
> On 16/05/2024 11:17, Mark Thomas wrote:
> > On 16/05/2024 10:34, Rémy Maucherat wrote:
> >> On Thu, May 16, 2024 at 10:57 AM <build...@apache.org> wrote:
> >>>
> >>> Build status: BUILD FAILED: failed compile (failure)
> >>> Worker used: bb_worker2_ubuntu
> >>> URL: https://ci2.apache.org/#builders/44/builds/1265
> >>> Blamelist: remm <r...@apache.org>
> >>> Build Text: failed compile (failure)
> >>> Status Detected: new failure
> >>> Build Source Stamp: [branch 10.1.x]
> >>> bbb4a7b3f7522189678447794b27f1033285df5a
> >>
> >> I cannot really figure out why this one is failing.
> >> https://nightlies.apache.org/tomcat/tomcat-10.1.x/logs/1265/TEST-org.apache.catalina.users.TestDataSourceUserDatabase.NIO.txt
> >>
> >> Derby on CI would be compiled with Java 19 (??) and running on 17 (no
> >> surprise). Testing locally shows the Derby JAR running fine on Java
> >> 17.
> >>
> >> Any ideas ?
> >
> > Hex editor confirms that class files in derby-10.17.1.0.jar target Java
> > 19 (and the MANIFEST says they were compiled with Java 21).
> >
> > The tests fail for me when running on Java 17.
> >
> > Targeting Java 19 is unexpected. I'll look into what the Derby docs say.
>
> Docs say:
> - Derby 10.16.1.1 targets Java 17
> - Derby 10.17.1.0 targets Java 21 (although it only requires Java 21)
>
> Looks like we need to downgrade the version of Derby we use.

Thanks ! I retried and it fails as expected with Java 17. I had an
earlier problem like that and my Fedora acts really weird when I don't
set JAVA_HOME. Setting it makes things more predictable, I need to be
more careful with that it seems.

Rémy

> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

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

Reply via email to