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 Tue, 06 Jun 2006 13:56:38 GMT
Ivan Volosyuk wrote:
> This test seems to pass ok, any way the problem in eclipse was fixed
> by following change. (Sorry, do not have enough time to write the
> test)

I see now. .thanks. Should be fixed in r412122.

FYI the test case depends on how the compiler compiles the bytecode.
The test below would pass when using "javac" but fail with "jikes".
Javac generates GETSTATIC FieldRes$FieldResInterface.FIELD while
jikes generates GETSTATIC FieldRes$FieldResClass.FIELD.

     public class FieldRes {
         public static interface FieldResInterface {
             Object FIELD = new Object();
         public static class FieldResSuperclass implements FieldResInterface {
         public static class FieldResClass extends FieldResSuperclass {
         public static void main(String[] args) throws Exception {
             System.out.println(new FieldResClass().FIELD);


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

View raw message