While building the java sources of gcj using Eclipse I discovered two lines which ecj (Eclipse Compiler for Java) regarded as syntax errors in libjava/gnu/gcj/runtime/PersistentByteMap.java and libjava/gnu/gcj/tools/gcj_dbtool/Main.java I'm attaching a small patch fixing the problem
Created attachment 8600 [details] fix This patch fixes the two small syntax errors that show up using gcj.
Subject: Bug 20958 CVSROOT: /cvs/gcc Module name: gcc Changes by: bryce@gcc.gnu.org 2005-04-12 23:22:15 Modified files: libjava : ChangeLog libjava/gnu/gcj/tools/gcj_dbtool: Main.java libjava/gnu/gcj/runtime: PersistentByteMap.java Log message: 2005-04-12 Aaron Luchko <aluchko@redhat.com> PR libgcj/20958 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException. * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3467&r2=1.3468 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/tools/gcj_dbtool/Main.java.diff?cvsroot=gcc&r1=1.10&r2=1.11 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/gcj/runtime/PersistentByteMap.java.diff?cvsroot=gcc&r1=1.4&r2=1.5
Fixed.