← Back to team overview

openjdk team mailing list archive

Bug#506130: openjdk-6: ManagementFactory is broken on cacao VM

 

retitle 506130 openjdk-6: ManagementFactory is broken on cacao VM
thanks

Hi,

This seems to only affect Cacao VM.
[Using same test case as Adam Heath]

$> /usr/lib/jvm/java-6-openjdk/bin/java -classpath . Bug
com.sun.jmx.mbeanserver.JmxMBeanServer@53ef9f1d

$> /usr/lib/jvm/java-6-openjdk/bin/java -zero -classpath . Bug
com.sun.jmx.mbeanserver.JmxMBeanServer@16fd0b7

$> /usr/lib/jvm/java-6-openjdk/bin/java -cacao -classpath . Bug
Exception in thread "main" java.lang.InternalError: Unsupported Management 
version
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
        at java.lang.System.loadLibrary(System.java:1047)
        at 
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
        at 
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
sun.management.ManagementFactory.<clinit>(ManagementFactory.java:485)
        at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:521)
        at Bug.main(Bug.java:5)

Cheers,
-- 
Damien Raude-Morvan - http://damien.raude-morvan.com/

Attachment: signature.asc
Description: This is a digitally signed message part.