harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject [drlvm] [classlib] Running specjvm98
Date Thu, 22 Jun 2006 22:20:36 GMT
Hello

I've tried to run specjvm98 on Linux on drlvm and encountered several problems 
with it. I've created JIRA HARMONY-644 with those which I could resolve, I 
don't want to repeat what I wrote in comments there already.

I have several questions yet after it.

1. Is it ok to modify Applet to extend Panel? I am entering not a well known 
for me territory of classlib in the current state, so I am not sure if I 
don't break something with it.

2. What is VM.bootCallerClassLoader() is supposed to return? If I understand 
it correctly from the comments it should return bootstrap class loader 
object. But I always thought that it is null by specification.

3. Spec still doesn't run, it now fails on

Uncaught exception in AWT-EventQueue:
java.lang.UnsatisfiedLinkError: Can not find the library: libaccessors.so
        at java.lang.Runtime.loadLibrary0()
        at java.lang.System.loadLibrary()
        at 
org.apache.harmony.misc.accessors.MemoryAccessor.getInstance(MemoryAccessor.java:35)
        at 
org.apache.harmony.misc.accessors.AccessorFactory.getMemoryAccessor(AccessorFactory.java:55)
        at 
org.apache.harmony.awt.nativebridge.NativeBridge.<clinit>(NativeBridge.java:31)
        at 
org.apache.harmony.awt.nativebridge.BasicLibWrapper.<clinit>(BasicLibWrapper.java:29)
        at 
org.apache.harmony.awt.wtk.linux.LinuxWindowFactory.<clinit>(LinuxWindowFactory.java:46)
        at org.apache.harmony.awt.wtk.linux.LinuxWTK.<init>(LinuxWTK.java:86)
        at java.lang.reflect.VMReflection.newClassInstance()
        at java.lang.reflect.Constructor.newInstance()
        at java.lang.Class.newInstance()
        at java.awt.Toolkit.createWTK(Toolkit.java:876)
        at java.awt.Toolkit.access$200(Toolkit.java:42)
        at java.awt.Toolkit$1.run(Toolkit.java:462)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

I didn't find this library, perhaps I am missing something... Where is it 
supposed to appear from? Is it native code from awt/swing which wasn't merged 
to build from the contribution yet?

-- 
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message