I noticed that the following java code does not get JIT compiled
because invokeinterface target cannot be resolved.
You need to apply the two patches attached to this e-mail first.

---------- Test.java ---------

interface A {
        void x();
};

interface B extends A {
};

public class Test  {
        static public void main( String [] args ) {
                B b = null;
                b.x();
        }
}

--------- cut ---------

jato output:

convert_invokeinterface: warning: unable to resolve invocation target
compile_error: error: Failed to compile method `main' in class `Test',
error: -22
Native stack trace:
 [<08051d88>] __show_stack_trace+18
(/home/tomek/projects/jato/jato/arch/x86/backtrace.c:131)
 [<00000000>] <unknown>
 [<0805b385>] <unknown>
 [<080601c8>] <unknown>
 [<a7c3964d>] <unknown>
 [<080654a1>] <unknown>
 [<b7cd460c>] <unknown>
 [<08051cd1>] <unknown>

-- 
Tomek Grabiec
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to