harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: jchevm status?
Date Thu, 01 Jun 2006 03:40:23 GMT
Ivan Volosyuk wrote:
> Archie, I have made some progress with classlib adapter. Now eclipse
> starts and opens main window, just as with gnuclasspath. It works even
> faster then it. Of cause, a lot of functionality is still missing. Now
> I found a jchevm issue which prevents eclipse from working both on gnu
> classpath and using this adapter. Here is the eclipse code:
> 
>     private static void checkAccess() throws IllegalStateException {
>         StackTraceElement[] elements=  new Throwable().getStackTrace();
>         if (!(elements[2].getClassName().equals(EditorsUI.class.getName())
>                 || 
> elements[3].getClassName().equals(EditorsUI.class.getName())))
>             throw new IllegalStateException();
>     }
> 
> This code checks access control in eclipse. The caller of the method
> should be member function of class EditorsUI. As jchevm also reports
> exception creation stack frames the access check doesn't work. I can
> make a workaround in classlibadapter, but I think it should be better
> fixed in the vm code, as the fix will work with gnu classpath too. If
> you are too busy, I  can make this fix for jchevm.

Thanks for hunting this down. I'll work on a fix, which should be easy.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

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