-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add experimental support for Java 24 class files #1631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi All, Could we get a release (0.8.13?) pushed to Maven Central? I'd like to get all of our Apache Commons builds on Java 24-ea passing; for example: https://github.com/apache/commons-collections/actions/runs/11168739466/job/31047838820 TY! |
@garydgregory in https://github.com/apache/commons-collections/actions/runs/11168739466/job/31047838820 you have
and
so I don't think that your build fails because of JaCoCo. |
Hello @Godin You're not looking in the right place 😉
|
I saw
but I seriously doubt that this is the cause of your build failure - according to jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/CoverageTransformer.java Lines 94 to 99 in dbfb6f2
inability to instrument/transform class is ignored by JVM and class should remain uninstrumented, ie JaCoCo simply won't be able to record coverage for it. And I doubt that And that's why IMO #1631 (comment) is
to look at. Also have you tried suggestion from #1742 (comment)
??? According to the above IMO even with SNAPSHOT you'll have build failure and hence even if we'll release it. |
@garydgregory I just tried locally
then added index 0057f179f..1cc25ac71 100644
--- i/pom.xml
+++ w/pom.xml
@@ -32,6 +32,12 @@
<system>jira</system>
<url>https://issues.apache.org/jira/browse/COLLECTIONS</url>
</issueManagement>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jacoco-snapshot</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ </pluginRepository>
+ </pluginRepositories>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-collections.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-collections.git</developerConnection> and then executed
using
and
are gone, but #1631 (comment) remains 😉 |
Another proof that does not require JaCoCo SNAPSHOT: execution of
with JDK 24-ea also fails with the same #1631 (comment) |
And one more proof: execution of
succeeds with JaCoCo 0.8.12 and JDK 24-ea 😉 |
No description provided.