From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29522 invoked by alias); 11 May 2004 15:57:34 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 29497 invoked by uid 48); 11 May 2004 15:57:33 -0000 Date: Tue, 11 May 2004 15:57:00 -0000 Message-ID: <20040511155733.29495.qmail@sourceware.org> From: "nmoyere at calendra dot com" To: java-prs@gcc.gnu.org In-Reply-To: <20040511154000.15377.nmoyere@calendra.com> References: <20040511154000.15377.nmoyere@calendra.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/15377] GCJ does not use the good package for imported classes X-Bugzilla-Reason: CC X-SW-Source: 2004-q2/txt/msg00095.txt.bz2 List-Id: ------- Additional Comments From nmoyere at calendra dot com 2004-05-11 15:57 ------- I have done the same test with gcc 3.4.0 under windows XP. To reproduce the bug with the example, 1) unzip test.tgz somewhere 2) get the jakarta ant (at least version 1.4) from Apache Jakarta. 3) if you are under unix, start the compil.sh from the "test" directory if you are under windows, start a dos prompt and cd to the "test" directory and launch gcj -d classes -classpath /ant.jar -g1 -C @javafiles gcj will display: /home/builder/CDMIndus/test/com/calendra/swing/components/multipledata/action/MoveUpMultipleDataAction.java:9: error: Class `com.ca endra.swing.components.multipledata.action.MoveUpMultipleDataAction' doesn't define the abstract method `java.lang.String com.calen ra.logs.AbstractAction.getActionName()' from class `com.calendra.logs.AbstractAction'. This method must be defined or class `com.ca endra.swing.components.multipledata.action.MoveUpMultipleDataAction' must be declared abstract. public class MoveUpMultipleDataAction extends AbstractMultipleDataAction { ^ 1 error If you try to remove the first line of the "javafiles" file and start again gcj, the compilation will succeed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15377