After a check from my side, the release 22.01 failed with java 17

*****
* What went wrong:
Execution failed for task ':compileJava'.
> java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x11954319) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x11954319

****

with
****
java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment (build 17.0.3+7-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.3+7-Debian-1deb11u1, mixed mode, sharing)
****

I will backport your work on trunk for the java 11 and update the documentation.

For the 17 I suggest to do it only on trunk for the moment.

Nicolas

On 15/07/2022 11:48, Jacques Le Roux wrote:
Hi Nicolas,

I did not try, how things works with Java 17?

Jacques

Le 15/07/2022 à 10:14, Nicolas Malin a écrit :
Hello,

I saw that break the CI github because I commited a List.of on release22.01 [1] not supported by java 8

After a quick check, the CI work on java 8 and the documentation quote also the java 8 (release22.01 and trunk) but for the demo server we move to java 11 [2]

I propose to update the CI and documentation but to be sure, we move the release22.01 on java 11 or the LTS 17 ?

Reading you
Nicolas


[1] https://gitbox.apache.org/repos/asf/ofbiz-framework.git
[2] https://lists.apache.org/thread/fq6q58lv52751t4xlkb17mmwkj4kk8q4


Reply via email to