Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 12.0.1 build vs 12.0.0 build

Revisiting this issue I can confirm that both building our Scala application with JDK20 against Jetty 12.0.1 jars built from source with JDK20 and building with JDK21 against the standard 12.0.1 jars (built with JDK21) works. Apparently it is an issue with the Scala compiler not being able to handle JKD21 built jars when itself running in JDK20.

Silvio


On 04-09-2023 16:09, Silvio Bierman via jetty-users wrote:
I can confirm that compiling works with jars that are built with.

Cheers,

Silvio


On 04-09-2023 14:48, Simone Bordet wrote:
Hi,

On Mon, Sep 4, 2023 at 1:23 PM Silvio Bierman via jetty-users
<jetty-users@xxxxxxxxxxx> wrote:
I have a strange issue that is probably not directly Jetty related but
only occurs when I compile against the 12.0.1 jars and not when using
the 12.0.0 jars so I was hoping for some info.

My Scala compiler crashes with an internal error when compiling against
the 12.0.1 jars and not when using the 12.0.0 jars.
Jetty 12.0.0 has been compiled with Java 20 --release 17.
Jetty 12.0.1 has been compiled with Java 21 --release 17.

Could be that in Java 21 the javac compiler does something slightly
different that scalac does not like.


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users



Back to the top