Fixed in build #612. Thank you Jonas!

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


----- Original Message -----
From: "Jonas Kvarnstr�m" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 15, 2002 7:12 PM
Subject: [Eap-list] Possible bug in code inspection -- suggests private
(#611)


> Assume the following class:
>
> public class Test {
>     public int foo = 12;
>     public static class SubTest extends Test {
>         public void test() {
>             System.out.println(foo);
>         }
>     }
> }
>
> IDEA suggests that foo could be made private.  If I make it private,
> javac complains about trying to access foo() inside test().  I don't
> know if this is a bug in IDEA (foo should not be made private) or in
> javac (nested subclass should be allowed to access private members of
> the superclass).
>
>
>
> _______________________________________________
> 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