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

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

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to