harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject Re: jchevm status?
Date Sun, 14 May 2006 23:49:23 GMT
Sure, if I have some outstanding results I'll share it. As for now...

It was quite challenging to run "hello world" using glue layer from Harmony-318.
Some changes was made to the classes layout, patched classes are a bit outdated.
I didn't found libvmi.so for jchevm, so I've taken modified version from drlvm.
There is no documentation about HyVMLSFunctionTable functions used by
harmony classlib, and it is used quite strange way. Helpfully, Weldon
has commented out its usage.

Hello world passed, by specjvm98 _200_check gives me:
java.lang.ClassFormatError: invalid interface access flags 0x0201
(for spec/harness/BenchmarkDone and spec/harness/SpecBenchmark)
The same is reproducible on jchevm with classpath.

When comment out this too stict check:
on classpath it works.
on harmony classes adapter there is a fatal error, which is strange:
  spec.benchmarks._200_check.Main does not implement the SpecBenchmark interface

---------
Eclipse on jchevm with classpath throw following (didn't spent much
time investigating):
...
Caused by: java.lang.NullPointerException
   at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java)
   at java.lang.Throwable.fillInStackTrace (Throwable.java:498)
   at java.lang.Throwable.<init> (Throwable.java:159)
   at java.lang.Exception.<init> (Exception.java:78)
   at java.lang.RuntimeException.<init> (RuntimeException.java:76)
   at java.lang.NullPointerException.<init> (NullPointerException.java:80)
   at org.eclipse.ui.internal.WorkbenchPage.restoreState
(WorkbenchPage.java:2644)
   at org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1819)
   at org.eclipse.ui.internal.Workbench.doRestoreState (Workbench.java:2566)
   at org.eclipse.ui.internal.Workbench.access$14 (Workbench.java:2515)
   at org.eclipse.ui.internal.Workbench$19.run (Workbench.java:1514)
   at org.eclipse.ui.internal.Workbench$16.run (Workbench.java:1263)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread
(ModalContext.java:346)

activePerspective is null, the roots of the null reference is
difficult to track down at first glance.
--
Ivan


2006/5/14, Geir Magnusson Jr <geir@pobox.com>:
>
>
> Ivan Volosyuk wrote:
> > I have recently built jchevm and tried to run eclipse with it. When
> > loading a error window appeared. It looks like a bug or unimplemented
> > functionality.
> >
> > I have taken a look at list of loaded native libraries. It looks
> > classpath is used for system classes instead of harmony classlib. I
> > remember, there was some discussion about porting jchevm to harmony
> > classlib, what is the status of this work? Harmony classes prooved to
> > work in drlvm. So I think once the porting is done it could be
> > possible to get eclipse working on jchevm soon.
> >
>
> There's work going on making a "glue layer" between any GNU
> Classpath-using VM and the Harmony Classlib.
>
> It's not complete yet.  Are you interested in helping?  We're always
> looking for new volunteers.
>
> geir
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message