Anthony Green writes: > I can't build kawa on rawhide (gcj 4.1.2) due to errors like the > following.... > > [javac] 1. ERROR in > /home/BUILD/kawa-1.9.1/gnu/lists/PrintConsumer.java (at line 9) > [javac] public class PrintConsumer extends PrintWriter > [javac] ^^^^^^^^^^^^^ > [javac] Exception IOException in throws clause of > Writer.append(CharSequence, int, int) is not compatible with > PrintWriter.append(CharSequence, int, int) > > And, indeed, our PrintWriter.append methods don't throw IOException. The PrintWriter.append methods in OpenJDK don't either. PrintWriter.append(c) calls out.write(c), which catches IOException and doesn't re-throw it. > Is this a bug? IMO no. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 -- fedora-devel-java-list mailing list fedora-devel-java-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-java-list