BZ #136: cacao fails to load icedtea plugin because ManagementFactory is broken on cacao VM

Status fields:

creation_ts:2010-03-01 09:53
component:native
version:0.99.4
rep_platform:All
op_sys:Linux
bug_status:NEW
reporter:xerxes@zafena.se
testcase load any java applet using the icedtea browser plugin
http://oneslime.net

a reduced testcase for cacao exist in the debian bug #506130
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506130

result cacao hits exception when loading the applet:
Exception in thread "Applet" java.lang.InternalError: Unsupported Management
version
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1747)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1664)
        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.getThreadMXBean(ManagementFactory.java:391)
        at
net.sourceforge.jnlp.Launcher.setContextClassLoaderForAllThreads(Launcher.java:476)
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:598)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:547)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:728)
java.lang.NullPointerException
        at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:99)
        at sun.applet.AppletPanel.run(AppletPanel.java:380)
        at java.lang.Thread.run(Thread.java:636)
java.lang.NullPointerException
        at sun.applet.AppletPanel.run(AppletPanel.java:430)
        at java.lang.Thread.run(Thread.java:636)

this bug are pushed forwarded from:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=448