Hi,

  Consider the following code:

public class Test
{
    public void use(TestInline2 inline)
    {
        long result = inline.method2() + 5;
    }
}

class TestInline
{
    public long method1()
    {
        return 10;
    }
}

class TestInline2 extends TestInline
{
    public long method2()
    {
        return method1();
    }
}

  After inlining method2, the line

        long result = inline.method2() + 5;

  becomes 

        long result = method1() + 5;

  which is not an expected result.

---
Sincerely yours,
Mike Aizatsky
___________________________________________________________________________
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to