Skip to content

JRuby 1.7 branch uses java.lang.management.ManagementFactory #4006

@donv

Description

@donv

Environment

JRuby 1.7 branch + Ruboto

org.jruby.RubyGC.count now uses java.lang.management.ManagementFactory.getGarbageCollectorMXBeans which is not available on Android. JRuby 1.7.25 does not do this.

Could not find method java.lang.management.ManagementFactory.getGarbageCollectorMXBeans, referenced from method org.jruby.RubyGC.count
unable to resolve static method 6126: Ljava/lang/management/ManagementFactory;.getGarbageCollectorMXBeans ()Ljava/util/List;
D/dalvikvm( 5135):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions