[
https://issues.apache.org/jira/browse/MCOMPILER-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926542#comment-17926542
]
ASF GitHub Bot commented on MCOMPILER-608:
------------------------------------------
slawekjaranowski commented on PR #275:
URL:
https://github.com/apache/maven-compiler-plugin/pull/275#issuecomment-2654566125
> Will it also work for JDK 24?
Yes with #293
> 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)