You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2021/03/30 06:21:00 UTC
[jira] [Closed] (MCOMPILER-459) Maven 3.6.1 -> 3.6.3 migration,
with AdoptOpenJDK 16: Class lombok/javac/apt/LombokProcessor(unnamed module
0x00000007FF812940) can not access class JavacProcessingEnvironment(module
jdk.compiler) ; module jdk.compiler doesn't export module "processing"
[ https://issues.apache.org/jira/browse/MCOMPILER-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Mulders closed MCOMPILER-459.
-------------------------------------
Assignee: Maarten Mulders
Resolution: Not A Problem
> Maven 3.6.1 -> 3.6.3 migration, with AdoptOpenJDK 16: Class lombok/javac/apt/LombokProcessor(unnamed module 0x00000007FF812940) can not access class JavacProcessingEnvironment(module jdk.compiler) ; module jdk.compiler doesn't export module "processing"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MCOMPILER-459
> URL: https://issues.apache.org/jira/browse/MCOMPILER-459
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Environment: $ java -version
> java -version
> openjdk version "16" 2021-03-16
> OpenJDK Runtime Environment AdoptOpenJDK (build 16+36-202103222341)
> Eclipse OpenJ9 VM AdoptOpenJDK (build master-2580bb725, JRE 16 Linux aarch64-64-Bit Compressed References 20210322_4 (JIT enabled, AOT enabled)
> OpenJ9 - 2580bb725
> OMR - f111a8bd2
> JCL - 6b1d4e345d based on jdk-16+36)
> $ javac -version
> javac -version
> javac 16
> $ uname -a
> Linux ams1-c2-large-arm-01 5.4.0-40-generic #44-Ubuntu SMP Mon Jun 22 23:59:48 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
> -------
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /home/oceanfish81/apache-maven-3.6.3
> Java version: 16, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/jdk-16+36
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.4.0-40-generic", arch: "aarch64", family: "unix"
> Reporter: Ivan Serdyuk
> Assignee: Maarten Mulders
> Priority: Major
> Attachments: mcompiler-459.zip
>
>
> Not sure if you followed the same issues - but I can't build projects (like [https://skywalking.apache.org/] ), which use Maven 3.6.1, with Maven 3.6.3.
>
> I presume that artifacts are outdated - that do not see the complete list (or not aware of migration procedure), if using AdoptOpenJDK 16.
>
> I am getting
>
> ??[INFO] ------------------------------------------------------------------------??
> ??[INFO] BUILD FAILURE??
> ??[INFO] ------------------------------------------------------------------------??
> ??[INFO] Total time: 24.559 s??
> ??[INFO] Finished at: 2021-03-25T18:02:45Z??
> ??[INFO] ------------------------------------------------------------------------??
> ??[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project apm-util: Fatal error compiling: java.lang.IllegalAccessError: Class lombok/javac/apt/LombokProcessor(unnamed module 0x00000007FF812940) can not access class com/sun/tools/javac/processing/JavacProcessingEnvironment(module jdk.compiler) because module module jdk.compiler does not export package com/sun/tools/javac/processing to module unnamed module 0x00000007FF812940 ??
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)