Hi,

> uwsgi-plugin-java's autopkg test fails with OpenJDK 25, blocking the 
> migration of java-common.

Relevant test output:

    JVM 21.0.10+7-Debian-1 initialized at 0x557e6e441800 (worker: 1 pid: 2423)
    Exception in thread "main" java.lang.UnsupportedClassVersionError: rpc has 
been compiled by a more recent version of the Java Runtime (class file version 
69.0), this version of the Java Runtime only recognizes class file versions up 
to 65.0

This is because src:uwsgi-plugin-java (/usr/share/java/uwsgi.jar) has been
compiled with openjdk-21 and rpc.java is compiled in the autopkgtest run
which now pulls javac from openjdk-25.

A binNMU should work around the issue, as would a new upload.

A better way would be to use $java_compat_level from
/usr/share/java/java_defaults.mk to compile /usr/share/java/uwsgi.jar . This
requires changes in src:uwsgi and src:uwsgi-plugin-java. I will submit 
this work for sponsorship.

Thanks,

Alex

Reply via email to