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.  This of 
> course lead to a stack overflow, and the console window was 
> constantly 
> spitting out the following repeated stack trace:
> 
>         at com.intellij.psi.impl.source.bz.a(bz.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.c.a(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.c.b(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.bz.a(bz.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.c.a(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.c.b(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         ...
> 
> Just tried it again after having killed and restarted IDEA, 
> and managed 
> to press backspace a few times quickly enough to break the 
> recursion (by 
> deleting part of the name of the interface).  The end of the 
> stack trace is:
> 
>         at com.intellij.psi.impl.source.d.c.a(c.java:120)
>         at com.intellij.psi.impl.source.d.c.b(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.bz.a(bz.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.c.a(c.java:120)
>         at com.intellij.psi.impl.source.d.c.b(c.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at com.intellij.psi.impl.source.d.b.a(b.java(Compiled Code))
>         at 
> com.intellij.codeInsight.highlighting.by.a(by.java(Compiled 
> Code))
>         at com.intellij.psi.impl.source.bz.a(bz.java:1)
>         at 
> com.intellij.codeInsight.highlighting.bh.a(bh.java(Compiled 
> Code))
>         at com.intellij.codeInsight.highlighting.bh.run(bh.java:32)
>         at com.intellij.psi.impl.r.a(r.java:305)
>         at com.intellij.codeInsight.highlighting.r.run(r.java:23)
>         at java.lang.Thread.run(Thread.java:498)
> 
> 
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 


***************************************************************************************
This email and any files transmitted with it are confidential and intendeds
 olely for the use of the individual or entity to whom they are addressed.I
 f you have received this email in error please notify [EMAIL PROTECTED] 
immediately.

This footnote also confirms that this email message has been swept for thep
 resence of computer viruses.
***************************************************************************************

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

Reply via email to