Yes. That's what I get for not actually compiling my examples. I did compile
the following:

    private static class A {
        private final int b;

        A( int b ) { this.b = b; }
        A() { this(0); }
    }

Which compiles fine under the JDK compiler but gives:

Blank final variable 'b' may not have been initialized. It must be assigned
a value in an initializer, or in every constructor.

when compiled using the symantec compiler.

-- Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 05:39p
To: [EMAIL PROTECTED]
Subject: RE: [Eap-list] which compiler?




> class A
> {
>       final int b;
> 
>       A( int b )
>       {
>               this.b = b;
>       }
> 
>       A()
>       {

You mean this(0); don't you :?

>               A(0);
>       }
> } 


_______________________________________________
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