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