This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/14231] [3.4/3.5 Regression]Incorrect interface method called when compiling against .class files
- From: "daney at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2004 00:35:29 -0000
- Subject: [Bug java/14231] [3.4/3.5 Regression]Incorrect interface method called when compiling against .class files
- References: <20040221021434.14231.daney@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From daney at gcc dot gnu dot org 2004-02-25 00:35 -------
I sent private e-mail, but I thought I would put the same thing here...
Sorry, with the patch, I cannot build libgcj.
I get these errors:
.
.
.
make[1]: Leaving directory `/home/daney/mipsel-gcccvs/mipsel-linux/boehm-gc'
make[1]: Entering directory `/home/daney/mipsel-gcccvs/mipsel-linux/libjava'
/home/daney/mipsel-gcccvs/gcc/gcj
-B/home/daney/mipsel-gcccvs/mipsel-linux/libjava/
-B/home/daney/mipsel-gcccvs/gcc/ --encoding=UTF-8 -Wno-deprecated -C -g
-classpath '' -bootclasspath
/home/daney/mipsel-gcccvs/mipsel-linux/libjava:../../../gcccvsw/gcc/libjava -d
/home/daney/mipsel-gcccvs/mipsel-linux/libjava
../../../gcccvsw/gcc/libjava/java/lang/Class.java
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:832: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readBoolean()'
from class `java.io.ObjectInput'.
public boolean readBoolean() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:846: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readByte()'
from class `java.io.ObjectInput'.
public byte readByte() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:860: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by
`java.io.ObjectInput.readUnsignedByte()' from class `java.io.ObjectInput'.
public int readUnsignedByte() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:902: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readChar()'
from class `java.io.ObjectInput'.
public char readChar() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:874: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readShort()'
from class `java.io.ObjectInput'.
public short readShort() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:888: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by
`java.io.ObjectInput.readUnsignedShort()' from class `java.io.ObjectInput'.
public int readUnsignedShort() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:916: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readInt()'
from class `java.io.ObjectInput'.
public int readInt() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:930: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readLong()'
from class `java.io.ObjectInput'.
public long readLong() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:944: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readFloat()'
from class `java.io.ObjectInput'.
public float readFloat() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:958: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readDouble()'
from class `java.io.ObjectInput'.
public double readDouble() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:992: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readLine()'
from class `java.io.ObjectInput'.
public String readLine() throws IOException
^
../../../gcccvsw/gcc/libjava/java/io/ObjectInputStream.java:997: error: Invalid
checked exception class `java.io.IOException' in `throws' clause. The exception
must be a subclass of an exception thrown by `java.io.ObjectInput.readUTF()'
from class `java.io.ObjectInput'.
public String readUTF() throws IOException
.
.
.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14231