GithubHelp home page GithubHelp logo

Update to ASM 9.7 about jacoco HOT 12 CLOSED

merks avatar merks commented on June 12, 2024
Update to ASM 9.7

from jacoco.

Comments (12)

Godin avatar Godin commented on June 12, 2024 1

@merks see https://groups.google.com/g/jacoco-dev/c/gkcthyxNHFA/m/nNN0BDmXAwAJ so I expect it to be in Maven Central by the end of Monday

from jacoco.

Godin avatar Godin commented on June 12, 2024 1

@merks only few minutes ago @marchof approved the release

from jacoco.

merks avatar merks commented on June 12, 2024

@Godin

Thanks so much!

What's the outlook/timeline for publishing a new release to Maven Central?

from jacoco.

merks avatar merks commented on June 12, 2024

@marchof @Godin

I'm curious the rollout of version 0.8.12.

Quite a few SimRel project use asm, including the Platform, and jacoco is used the EclEmma:

image

So it's hard to upgrade asm without there being an upgrade for jacoco.

I need to build an Orbit version for M1 by Tuesday or Wednesday at the latest so that deadline is rapidly approaching.

from jacoco.

merks avatar merks commented on June 12, 2024

@Godin

I'm keeping my fingers crossed that it's there tomorrow...

from jacoco.

Godin avatar Godin commented on June 12, 2024

@merks and AFAICS it is already available in Maven Central

from jacoco.

merks avatar merks commented on June 12, 2024

Yes, it just appeared! Yeah!!

https://repo1.maven.org/maven2/org/jacoco/org.jacoco.core/0.8.12/

from jacoco.

iloveeclipse avatar iloveeclipse commented on June 12, 2024

Is there an update for Eclemma planned?
The version available on https://www.eclemma.org/download.html doesn't work anymore on 4.32 M1.

eclipse.buildId=4.32.0.I20240403-0140
java.version=21.0.2-13
java.vendor=N/A
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data file:/tmp/wsp/

org.eclipse.eclemma.core
Error
Wed Apr 03 09:15:14 CEST 2024
FrameworkEvent ERROR

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.eclemma.core [369]
  Unresolved requirement: Require-Bundle: org.jacoco.core; bundle-version="[0.8.11,0.8.12)"
    -> Bundle-SymbolicName: org.jacoco.core; bundle-version="0.8.11.202310140853"
       org.jacoco.core [424]
  Unresolved requirement: Require-Bundle: org.jacoco.report; bundle-version="[0.8.11,0.8.12)"
    -> Bundle-SymbolicName: org.jacoco.report; bundle-version="0.8.11.202310140853"
       org.jacoco.report [425]
         Unresolved requirement: Import-Package: org.jacoco.core; version="[0.8.11,0.8.12)"
           -> Export-Package: org.jacoco.core; bundle-symbolic-name="org.jacoco.core"; bundle-version="0.8.11.202310140853"; version="0.8.11"
         Unresolved requirement: Import-Package: org.jacoco.core.data; version="[0.8.11,0.8.12)"
           -> Export-Package: org.jacoco.core.data; bundle-symbolic-name="org.jacoco.core"; bundle-version="0.8.11.202310140853"; version="0.8.11"; uses:="org.jacoco.core.internal.data"
         Unresolved requirement: Import-Package: org.jacoco.core.runtime; version="[0.8.11,0.8.12)"
           -> Export-Package: org.jacoco.core.runtime; bundle-symbolic-name="org.jacoco.core"; bundle-version="0.8.11.202310140853"; version="0.8.11"; uses:="org.jacoco.core.data,org.objectweb.asm"
         Unresolved requirement: Import-Package: org.jacoco.core.analysis; version="[0.8.11,0.8.12)"
           -> Export-Package: org.jacoco.core.analysis; bundle-symbolic-name="org.jacoco.core"; bundle-version="0.8.11.202310140853"; version="0.8.11"; uses:="org.jacoco.core.data,org.jacoco.core.internal.analysis"
  Bundle was not resolved because of a uses constraint violation.
  org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.jacoco.core [osgi.identity; type="osgi.bundle"; version:Version="0.8.11.202310140853"; osgi.identity="org.jacoco.core"] because it is exposed to package 'org.objectweb.asm' from resources org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.6.0"; osgi.identity="org.objectweb.asm"] and org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.7.0"; osgi.identity="org.objectweb.asm"] via two dependency chains.

Chain 1:
  org.jacoco.core [osgi.identity; type="osgi.bundle"; version:Version="0.8.11.202310140853"; osgi.identity="org.jacoco.core"]
    import: (&(osgi.wiring.package=org.objectweb.asm)(&(version>=9.6.0)(!(version>=9.7.0))))
     |
    export: osgi.wiring.package: org.objectweb.asm
  org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.6.0"; osgi.identity="org.objectweb.asm"]

Chain 2:
  org.jacoco.core [osgi.identity; type="osgi.bundle"; version:Version="0.8.11.202310140853"; osgi.identity="org.jacoco.core"]
    import: (&(osgi.wiring.package=org.objectweb.asm.commons)(&(version>=9.6.0)(!(version>=9.7.0))))
     |
    export: osgi.wiring.package=org.objectweb.asm.commons; uses:=org.objectweb.asm
  org.objectweb.asm.commons [osgi.identity; type="osgi.bundle"; version:Version="9.6.0"; osgi.identity="org.objectweb.asm.commons"]
    import: (&(osgi.wiring.package=org.objectweb.asm)(version>=9.6.0))
     |
    export: osgi.wiring.package: org.objectweb.asm
  org.objectweb.asm [osgi.identity; type="osgi.bundle"; version:Version="9.7.0"; osgi.identity="org.objectweb.asm"]
	at org.eclipse.osgi.container.Module.start(Module.java:493)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:2073)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:143)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2064)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2004)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1967)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1883)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

from jacoco.

merks avatar merks commented on June 12, 2024

I guess the proper place to ask is here somewhere

https://github.com/eclipse-eclemma/

but I see no issues for discussions anywhere there....

from jacoco.

Godin avatar Godin commented on June 12, 2024

@iloveeclipse I tried to install "Eclipse IDE for Java Developers" "Latest (2024-06)" using Eclipse Installer and it works, so what are the exact steps to reproduce?

Is there an update for Eclemma planned?

Yes - there will be an update. As per schedule AFAIK 2024-06 M1+3 is on April 10. As of now you can try https://download.eclipse.org/eclemma/updates-master/ which contains eclipse-eclemma/eclemma@196dda0

@merks In the past ASM bundles from Orbit had an upper bound to exclude its future versions - see for example eclipse-orbit/orbit@2ce720b

In the presence of 7.0.0 bundles, 6.1.2 bundles must have an upper bound to exclude the former.

Similarly 7.0.0 bundles have an upper bound to exclude future 7.1.

AFAICS this is not the case anymore for ASM bundles from Maven Central. And I guess that's why the above error arises in the presence of both 9.6 and 9.7 ASM versions.

from jacoco.

iloveeclipse avatar iloveeclipse commented on June 12, 2024

I tried to install "Eclipse IDE for Java Developers" "Latest (2024-06)" using Eclipse Installer and it works, so what are the exact steps to reproduce?

Just grab latest nightly build from https://download.eclipse.org/eclipse/downloads/ & install (old) eclemma from official update site.

from jacoco.

iloveeclipse avatar iloveeclipse commented on June 12, 2024

And version from https://download.eclipse.org/eclemma/updates-master/ works fine. Thanks.
Can that info about "master" update site be added on Eclemma https://www.eclemma.org/download.html page that only refers the "official" releases?

from jacoco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.