You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Gregory Shimansky <gs...@gmail.com> on 2006/06/23 00:20:36 UTC

[drlvm] [classlib] Running specjvm98

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


Re: [drlvm] [classlib] Running specjvm98

Posted by Alexander Simbirtsev <al...@gmail.com>.
It seems that still harmony-528 is 'in progress', contributed
awt/swing natives are not merged yet (this liblrary really should
appear from that code) and one cannot execute awt-based  code.

Alexander Simbirtsev, Intel Middleware Products Division

On 6/23/06, Gregory Shimansky <gs...@gmail.com> wrote:
> 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
>
>

---------------------------------------------------------------------
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