CONFIDENTIALITY NOTICE: This message is confidential and for the use only of
the intended recipient.
I've come across a bug in dependency based compiling.

I've got class A:

                import java.io.*;

                public class A
                {
                    public static void main(String[] arg)
                    {
                        try
                        {
                            new B();
                        }
                        catch (IOException e)
                        {
                        }
                    }
                }

which depends on class B:

                import java.io.*;

                public class B
                {
                    public B()
                        throws IOException
                    {
                        throw new IOException();
                    }
                }

When I remove the throws clause (and the throw statement...) from the
constructor of B, and "Make Project", it does not attempt to compile A and
hence finds no compilation errors.  A, however, will not compile if you try
to compile it separately.

Calum

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

Reply via email to