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

Avoid direct dependency on java.lang.management #150

Closed
marchof opened this Issue Oct 21, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@marchof
Member

marchof commented Oct 21, 2013

To allow usage on Android agent code should not have a direct dependency on package java.lang.management.

I/dalvikvm( 2033): Could not find method java.lang.management.ManagementFactory.getPlatformMBeanServer, referenced from method org.jacoco.agent.rt.internal_3d5ada2.Agent.shutdown
W/dalvikvm( 2033): VFY: unable to resolve static method 27077: Ljava/lang/management/ManagementFactory;.getPlatformMBeanServer ()Ljavax/management/MBeanServer;
D/dalvikvm( 2033): VFY: replacing opcode 0x71 at 0x001b
I/dalvikvm( 2033): Could not find method java.lang.management.ManagementFactory.getPlatformMBeanServer, referenced from method org.jacoco.agent.rt.internal_3d5ada2.Agent.startup
W/dalvikvm( 2033): VFY: unable to resolve static method 27077: Ljava/lang/management/ManagementFactory;.getPlatformMBeanServer ()Ljavax/management/MBeanServer;
@marchof

This comment has been minimized.

Show comment
Hide comment
@marchof

marchof Oct 25, 2013

Member

Fixed on master.

Member

marchof commented Oct 25, 2013

Fixed on master.

@marchof marchof closed this Oct 25, 2013

@jacoco jacoco locked and limited conversation to collaborators Jan 11, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.