I read yesterday a discussion sometime last year about this. If I 
remember correctly, earlier jdk's allowed this and newer ones throw a 
compilation error.

Carlos

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: ter�a-feira, 27 de Novembro de 2001 13:04
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] Infinite recursion in IDEA 520 (circular
> dependenc y on nested interface?)
> 
> 
> Hi Jonas.
> 
> I'm stuck in an infinite recursion trying to work out how 
> this twisted piece
> of code is supposed to work!  My brain just imploded on 
> itself trying to
> figure out what you're doing.
> 
> Cheers,
> Dan
> 
> > -----Original Message-----
> > From: Jonas Kvarnstr�m [mailto:[EMAIL PROTECTED]]
> > Sent: 27 November 2001 12:39
> > To: [EMAIL PROTECTED]
> > Subject: [Eap-list] Infinite recursion in IDEA 520 (circular 
> > dependency
> > on nested interface?)
> > 
> > 
> > I just wrote a class that implements an inner interface:
> > 
> > public class Debug implements Debug.MessageType {
> >     ...
> >     public static interface MessageType {
> >         ...
> >     }
> > }
> > 
> > I don't know if that's allowed or if it leads to a circular 
> > dependency, 
> > but I wanted to test by running it in the compiler.  As 
> soon as IDEA 
> > tried to check the syntax, it went into infinite recursion. 
[...]


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

Reply via email to