GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update to ASM 9.9 by merks · Pull Request #1965 · jacoco/jacoco

Conversation

@merks

@merks merks commented Oct 5, 2025

Copy link
Copy Markdown
Contributor

#1964

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

marchof reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@merks
Update to ASM 9.9
eef7412
jacoco#1964
@merks merks mentioned this pull request Oct 5, 2025
Dependency Updates eclipse-platform/eclipse.platform.releng.aggregator#3385
Merged
@Godin
Godin self-requested a review October 5, 2025 09:47
@Godin Godin self-assigned this Oct 5, 2025
@Godin Godin added the dependencies Pull requests that update a dependency file label Oct 5, 2025
@Godin Godin added this to the 0.8.14 milestone Oct 5, 2025
Godin and others added 2 commits October 6, 2025 00:34
@Godin
(WIP) use link to PR
e9679fc
@Godin
Merge branch 'master' into issue-1964
a206d9f
@Godin
Godin enabled auto-merge (squash) October 6, 2025 23:30
@Godin Godin linked an issue Oct 6, 2025 that may be closed by this pull request
Update to ASM 9.9 #1964
Closed
Godin
Godin approved these changes Oct 6, 2025
View reviewed changes

@Godin Godin left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record
here is a link to their changelog - https://asm.ow2.io/versions.html
and actual changes between versions - https://gitlab.ow2.org/asm/asm/-/compare/ASM_9_8...ASM_9_9

From this to me seems that this time there were no changes that could negatively impact us.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread org.jacoco.build/licenses/asm-9.9.html

<p>
<a href="https://asm.ow2.io/">ASM 9.8</a> is subject to the terms and
<a href="https://asm.ow2.io/">ASM 9.9</a> is subject to the terms and

@Godin Godin Oct 6, 2025

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did check that their license stayed unchanged.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@merks merks Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I did check the license file too

https://asm.ow2.io/license.html

I was a bit surprised that ASM is released under the following 3-Clause BSD License: was left out of the copy:

image

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Godin
Godin merged commit c2fe5cc into jacoco:master Oct 6, 2025
@merks
merks deleted the issue-1964 branch October 7, 2025 05:38
@iloveeclipse

iloveeclipse commented Oct 7, 2025

Copy link
Copy Markdown

Apropos: will there be an Eclemma update soon?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merks

merks commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

I'm still awaiting the Maven Central update for Orbit. I image the Maven Central publishing is a prerequisite for Eclemma as well.

I know that sometimes it can take a while from when it's published to when it's visible here:

https://repo.maven.apache.org/maven2/org/jacoco/org.jacoco.agent/

iloveeclipse reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin

Godin commented Oct 8, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

@merks we do not publish releases for every merge of every PR 😉 but we do publish snapshots at https://central.sonatype.com/repository/maven-snapshots/ which unfortunately as of now doesn't allow to get list of files in browser, but they are downloadable by Maven.

It took me quite some time, much more than usually 😪 , because of EOL of OSSRH service ( oss.sonatype.org ) and migration to Central Publisher Portal (central.sonatype.com) - #1896, but release has been staged - https://groups.google.com/g/jacoco-dev/c/wdKGT0rprS0/m/q9MlqmKzAQAJ

So hope it will reach Maven Central tomorrow (Oct 8) after successful validation by @marchof

Then after Orbit update, publishing of EclEmma milestone should not take long for me.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merks

merks commented Oct 8, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for the update. Yes, the OSSRH thing has been a nightmare for me as well. 😱

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin

Godin commented Oct 8, 2025

Copy link
Copy Markdown
Member

hope it will reach Maven Central tomorrow (Oct 8)

@merks FYI unfortunately it is going to take longer, because fortunately we got report about regression - #1969
hope to fix it soon, and re-staging of release should go smoother and faster this time

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merks

merks commented Oct 8, 2025

Copy link
Copy Markdown
Contributor Author

Thank you for your effort and for the updates. It's all very much appreciated. ❣️

Godin reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin Godin mentioned this pull request Oct 8, 2025
KotlinSerializationFilter does not work with sealed classes annotated with @Serializable and crashes JaCoCo report generation #1969
Closed
@fbricon fbricon mentioned this pull request Oct 9, 2025
Bundle startup failed microsoft/vscode-java-test#1796
Closed
@iloveeclipse

iloveeclipse commented Oct 10, 2025

Copy link
Copy Markdown

hope it will reach Maven Central tomorrow (Oct 8)

@merks FYI unfortunately it is going to take longer, because fortunately we got report about regression - #1969 hope to fix it soon, and re-staging of release should go smoother and faster this time

I see #1969 is fixed.

Is there any ticket one can follow where one could see the state of the release tasks?

If I understood it right,

  1. we wait for jacoco 0.8.14 to be published to maven before we can see it in Orbit.
  2. After we have jacoco 0.8.14 in Orbit, ASM 9.9.0 can be added to Orbit too?

I have Xtext PR eclipse-xtext/xtext#3528 that waits for ASM 9.9.0 being in Orbit.
I'm right with the dependency chain here?
Why can't we add ASM 9.9.0 to Orbit without jacoco update?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse iloveeclipse mentioned this pull request Oct 10, 2025
Update Xtext to use ASM 9.9.0 eclipse-xtext/xtext#3528
Closed
@merks

merks commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

The Orbit builds are very careful to guarantee and test that the transitive closure of dependencies is complete, i.e., that everything in Orbit can be installed from what's in Orbit. (Much like is the case for the release train.) So the initial build step fails like this currently:

[ERROR] Missing requirement: org.jacoco.core 0.8.13.202504020838 requires 'java.package; org.objectweb.asm [9.8.0,9.9.0)' but it could not be found
[ERROR] Cannot satisfy dependency: org.eclipse.orbit.maven.osgi.all.feature.group 4.38.0.v20251010-1423 depends on: org.eclipse.equinox.p2.iu; org.jacoco.core [0.8.13.202504020838,0.8.13.202504020838]

Imagine if you are a project that uses jacoco and uses Orbit and then one day sudden your target platform can't be resolved (in planner mode) because of missing dependencies. You'd not be very happy. It's of course possible that I could add both version of ASM to Orbit for a while, but this is the first time it's taken more than two days to resolve the issue (and, as you are probably aware, I really have way too much to do already).

There's definitely a growing backlog of updates available. E.g., I noticed there is a new version of the following that I expect Xtext will want to consume.

        <dependency>
          <groupId>io.github.classgraph</groupId>
          <artifactId>classgraph</artifactId>
          <version>4.8.184</version>
          <type>jar</type>
        </dependency>
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse

iloveeclipse commented Oct 10, 2025

Copy link
Copy Markdown

OK, I understand. So after we have jacoco 0.8.14 in Orbit, ASM 9.9.0 can be added to Orbit too, or are there other blocker?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse iloveeclipse mentioned this pull request Oct 10, 2025
Update Xtext to use ASM 9.9.0 eclipse-xtext/xtext#3525
Closed
@merks

merks commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

This is the only exceptional such case. It's rare to have such narrow bounds, I don't believe anyone has ever published an update for which the dependencies are not already available, and Orbit automatically updates everything that is available to update. Sometimes updates will have new dependencies, I think that happen with a recent batik update, but in that case I track them down and add them too. Yesterday I updated in the middle of Jetty 12.1.2 becoming visible; that was a little disconcerting to see a mix of version numbers

So yes as soon I see the jacoco update available I will build a full milestone of Orbit because Lucene is updated and that's consumed by the Platform. I'll try to remember to ping on the Xtext issue...

iloveeclipse reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin

Godin commented Oct 10, 2025

Copy link
Copy Markdown
Member

Is there any ticket one can follow where one could see the state of the release tasks?

Usually our release process is not tracked via ticket, but via mailing list - here is a link for 0.8.14 - https://groups.google.com/g/jacoco-dev/c/wdKGT0rprS0/m/q9MlqmKzAQAJ
However this time due to migration to Maven Central Publisher Portal you can also track it via #1896

Why can't we add ASM 9.9.0 to Orbit without jacoco update?

Eclipse EclEmma is part of Eclipse IDE distribution for Java, EclEmma requires JaCoCo, and JaCoCo requires strict version of ASM. And my understanding that for some reason multiple versions of ASM can't coexist in nowadays Eclipse IDE builds, whereas it was possible in past. And so while one can add multiple ASM versions to Orbit, this will break Eclipse IDE startup - AFAIR exactly this happened during ASM upgrade previous time. Maybe @merks can help to explain why? Personally I would really love to be able to have multiple ASM versions for one SimRel milestone, giving us a bit more time than 2 sleepless nights - there are a way too much pressure on us and hurry every time ASM releases. In past there were several examples of hard to diagnose regressions in JaCoCo due to changes in ASM behaivour and hurry with upgrade of it.

BTW looking at ASM changelog https://asm.ow2.io/versions.html and actual changes https://gitlab.ow2.org/asm/asm/-/compare/ASM_9_8...ASM_9_9 I don't understand at all from where hurry with its upgrade is coming from. The only notable change is V26 constant for Java version whose development just started. But I multiple times pointed out to various Eclipse projects that in absence of other real changes in bytecode, there is workaround for new class file versions without ASM upgrade - see

jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/InstrSupport.java

Lines 274 to 283 in 78d5eff

public static ClassReader classReaderFor(final byte[] b) {
final int originalVersion = getMajorVersion(b);
if (originalVersion == Opcodes.V24 + 1) {
// temporarily downgrade version to bypass check in ASM
setMajorVersion(Opcodes.V24, b);
}
final ClassReader classReader = new ClassReader(b);
setMajorVersion(originalVersion, b);
return classReader;
}

I see #1969 is fixed.

this is the first time it's taken more than two days to resolve the issue (and, as you are probably aware, I really have way too much to do already).

Please understand that we also have a lot of other important things to do - you know our primary job is not EclEmma and JaCoCo, not counting personal life.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse

iloveeclipse commented Oct 10, 2025

Copy link
Copy Markdown

I don't understand at all from where hurry with its upgrade is coming from.

ASM 9.9.0 is in the 4.38 platform already, and I have product that uses latest 4.38 Platform, Xtext & other ASM based bundle (org.apache.commons.commons-compress - not ASM version restricted, because it is not relevant for apache compress) and all together can't co-exist in same target with multiple ASM versions without OSGI error Unable to resolve resource XYZ because it is exposed to package 'org.objectweb.asm' from resources org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.8.0"; osgi.identity="org.objectweb.asm"] and org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.9.0"; osgi.identity="org.objectweb.asm"] via two dependency chains.

So it is not about bytecode at all, it is about dependencies...

Please understand that we also have a lot of other important things to do ...

Sure, this applies for all of us, I believe.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin

Godin commented Oct 10, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

So it is not about bytecode at all, it is about dependencies...

Why there was such a hurry for 4.38 platform to use ASM 9.9.0 if it is not about bytecode?
And again why two ASM versions can't coexist while this was possible before?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merks

merks commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

This is why I asked about updating the Platform because I know this cycle exists:

eclipse-platform/eclipse.platform.releng.aggregator#3385 (comment)

I would not have agreed to the update the Platform if M1 were not already out. Now we have quite some weeks before M2 so I thought things would be quite relaxed and OK. I was not aware that would be some intrinsic pressure in Xtext. Does Xtext require ASM bundles in addition to those required by the Platform?

I can fully empathize with @Godin's situation. ❣️ There's always way too much to do. This is why I try to help as much as possible (create a PR), and why I avoid pressure because I believe everyone is doing the best they can within their capacity. None of us like being pressured, and rightfully so! I can only express my gratitude for @Godin's efforts. 🏆

Godin reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse

iloveeclipse commented Oct 10, 2025

Copy link
Copy Markdown

And again why two ASM versions can't coexist while this was possible before?

It always depends on bundle dependencies in given bundles set in given application. Dependencies & bundles change and with them problems appear and disappear :-)

  • Platform brings in ASM 9.9.0
  • compress uses any ASM version, so gets 9.9.0
  • Xtext uses [9.8.0,9.9.0) so gets 9.8.0
  • XYZ bundle is forced to use Xtext so must use 9.8.0 but also uses compress that gets 9.9.0 and has the error above.

To unblock this, we can't change compress to limit to 9.8.0 because it doesn't actually care, it just needs some minimal ASM version. We also can't change XYZ bundle, because it needs both Xtext & compress.
So we must change Xtext to update it to 9.9.0.
Xtext can't update because there is no Orbit version.
And here we are.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iloveeclipse

iloveeclipse commented Oct 10, 2025

Copy link
Copy Markdown

Does Xtext require ASM bundles in addition to those required by the Platform?

No. So I've originally tried to use ASM from platform in Xtext "latest", but it looks like Xtext has multiple targets and all of them expect ASM from Orbit in same version.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merks

merks commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

I see, just complex releng issues. Didn't realize Xtext like jacoco has such strict upper bounds:

image

It seems to me though that the latest platform should be okay to install only 9.8.0..

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin

Godin commented Oct 11, 2025

Copy link
Copy Markdown
Member

Re-staged https://groups.google.com/g/jacoco-dev/c/wdKGT0rprS0/m/jQog-peIAgAJ

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Godin Godin mentioned this pull request Oct 11, 2025
KotlinSerializableFilter should filter more methods #1971
Merged
@Godin

Godin commented Oct 11, 2025

Copy link
Copy Markdown
Member

@merks FYI 0.8.14 available in Maven Central

iloveeclipse and merks reacted with thumbs up emoji merks reacted with laugh emoji merks reacted with hooray emoji merks reacted with heart emoji merks reacted with rocket emoji
All reactions
  • 👍 2 reactions
  • 😄 1 reaction
  • 🎉 1 reaction
  • ❤️ 1 reaction
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dongjoon-hyun dongjoon-hyun mentioned this pull request Oct 22, 2025
[SPARK-53987] Upgrade JaCoCo to 0.8.14 for official Java 25 support apache/spark-kubernetes-operator#398
Closed
dongjoon-hyun added a commit to apache/spark-kubernetes-operator that referenced this pull request Oct 22, 2025
@dongjoon-hyun
[SPARK-53987] Upgrade JaCoCo to 0.8.14 for official Java 25 support
06a9518
### What changes were proposed in this pull request?

This PR aims to upgrade `JaCoCo` to 0.8.14 for official Java 25 support (and Java 26 experimental support).

### Why are the changes needed?

`JaCoCo` 0.8.14 is the first version to support Java 25 officially and Java 26 experimentally.
- https://github.com/jacoco/jacoco/releases/tag/v0.8.14
  - jacoco/jacoco#1950
  - jacoco/jacoco#1965 (Java 26)

### Does this PR introduce _any_ user-facing change?

No. This is a test dependency.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #398 from dongjoon-hyun/SPARK-53987.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Godin Godin Godin approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@Godin Godin

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

0.8.14

Development

Successfully merging this pull request may close these issues.

Update to ASM 9.9

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@merks @iloveeclipse @Godin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.