Bug 20958 - Compile Errors In two files in gnu.gcj
Summary: Compile Errors In two files in gnu.gcj
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 21:53 UTC by Aaron Luchko
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
fix (250 bytes, patch)
2005-04-11 21:56 UTC, Aaron Luchko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Luchko 2005-04-11 21:53:38 UTC
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
Comment 1 Aaron Luchko 2005-04-11 21:56:01 UTC
Created attachment 8600 [details]
fix

This patch fixes the two small syntax errors that show up using gcj.
Comment 2 GCC Commits 2005-04-12 23:22:36 UTC
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

Comment 3 Bryce McKinlay 2005-04-12 23:26:25 UTC
Fixed.