Ok, verified for 1.3.0-C, works with 1.4.2_05-b04.
Mmh javadoc for 1.3 [1] has that method ...
Signature hasnt changed, maybe the compiler is not so restrictive any more.
If I had changed
    protected void readStreamHeader() {
to 
    protected void readStreamHeader() throws java.io.IOException,
java.io.StreamCorruptedException {
it compiles under 1.3

Jan


[1]
http://java.sun.com/j2se/1.3/docs/api/java/io/ObjectInputStream.html#readStr
eamHeader()

> -----Ursprüngliche Nachricht-----
> Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 10. März 2005 10:56
> An: Ant Users List
> Betreff: Re: AW: AW: cannot resolve symbol when overriding method.
> 
> Still failing...
> 
>     [javac] Compiling 1 source file to C:\tmp\java
>     [javac] C:\tmp\java\Dummy.java:12: cannot resolve symbol
>     [javac] symbol: class IOException 
>     [javac]       protected void readStreamHeader() {
>     [javac]                      ^
>     [javac] 1 error
> 
> It works when I add the 2 imports.
> Could it be caused by the jdk version I use (1.3.1_05) ? anything 
> missing in my ant configuration ??
> 
> Sebastien.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to