[ 
https://issues.apache.org/jira/browse/PARQUET-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774285#comment-17774285
 ] 

ASF GitHub Bot commented on PARQUET-2358:
-----------------------------------------

wgtmac merged PR #1161:
URL: https://github.com/apache/parquet-mr/pull/1161




> Upgrade japicmp-maven-plugin to 0.16.0
> --------------------------------------
>
>                 Key: PARQUET-2358
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2358
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Major
>
> Currently, running {{mvn verify}} with JDK 17 fails with the following error:
> {code}
> $ java -version 
> openjdk version "17.0.8" 2023-07-18
> OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7)
> OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode, 
> sharing)
> $ mvn clean install -DskipTests
> ...
> [ERROR] Failed to execute goal 
> com.github.siom79.japicmp:japicmp-maven-plugin:0.14.2:cmp (default) on 
> project parquet-generator: Execution default of goal 
> com.github.siom79.japicmp:japicmp-maven-plugin:0.14.2:cmp failed: An API 
> incompatibility was encountered while executing 
> com.github.siom79.japicmp:japicmp-maven-plugin:0.14.2:cmp: 
> java.lang.ExceptionInInitializerError: null
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    
> plugin>com.github.siom79.japicmp:japicmp-maven-plugin:0.14.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> ...
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> [ERROR] 
> [ERROR] -----------------------------------------------------
> [ERROR] : Unable to make protected final java.lang.Class 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws 
> java.lang.ClassFormatError accessible: module java.base does not "opens 
> java.lang" to unnamed module @296703e4
> {code}
> [Upgrading japicmp-maven-plugin to 0.15+ will resolve this 
> problem|https://github.com/siom79/japicmp/issues/275]. But the recent 
> versions don't seem to be mature enough on addressing generics (its support 
> was introduced since v0.17.0), so I'd like to upgrade it to a bit modest 
> version for now, namely 0.16.0.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to