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

ASF GitHub Bot commented on MCOMPILER-608:
------------------------------------------

slawekjaranowski closed pull request #275: [MCOMPILER-608] disable reproducible 
module patch on JDK 22+
URL: https://github.com/apache/maven-compiler-plugin/pull/275




> Reproducible builds break compilation on --release 23+ 
> -------------------------------------------------------
>
>                 Key: MCOMPILER-608
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-608
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.13.0
>            Reporter: Josiah Noel
>            Priority: Major
>
> As a result of MCOMPILER-542, it seems that when compiling with a release 
> higher than 22 and the `project.build.outputTimestamp` property set, 
> compilation fails because of `Unsupported class file major version`.
> Since [[JDK-8318913]|https://bugs.openjdk.org/browse/JDK-8318913] was added 
> to the JDK in 22, would it be sufficient to modify the logic that if the 
> current JVM is 22+, the ASM transformation should not occur? This can be 
> achieved with various methods (checking SourceVersion.values(), using 
> reflection to call Runtime.version() if available, etc.)
>  
>  



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

Reply via email to