Hi Joachim,

This is a known issue that the qualified new expressioon is highlighted in
red. There is already a request to fix this.

Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 11 December, 2001 4:45 PM
Subject: [Eap-list] Error with Inner Inner classes


> Hy,
>
> we're having a little problem with Inner Inner classes (right, not exactly
> beautiful, but the alternatives would be worse ...). When you have Inner
> non-static classes IDEA gets confused when you reach the second level. in
> the following code the InnerSquared in "i.new InnerSquared()" is
> highlighted and the status line says "Cannot resolve symbol InnerSquared".
>
> public class Test {
>     public static void main(String[] args) {
>         Test t = new Test();
>         Inner i = t.new Inner();
>         Object is = i.new InnerSquared();
>     }
>
>     public class Inner
>     {
>         public class InnerSquared
>         {
>             public InnerSquared() {
>                 System.out.println("Hello from Test.Inner.<init>");
>             }
>         }
>     }
> }
>
> this Code compiles perfectly with javac from jdk 1.3.1 and 1.4.0-beta3 as
> well as with jikes 1.14.
>
> regards
> Joachim Sauer
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


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

Reply via email to