This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
compile error
- From: Andrew Haley <aph at redhat dot com>
- To: <martin_aliger at email dot cz>
- Cc: <java at gcc dot gnu dot org>
- Date: Wed, 6 Nov 2002 12:38:35 +0000 (GMT)
- Subject: compile error
- References: <3DC90C24.000001.14317@email1.atc.cz>
Martin Aliger writes:
> Hi list,
>
> GCJ 3.2 do _not_ compile this correctly:
>
> -----
> package org.apache.poi.poifs.dev;
>
> public class POIFSViewer
> {
>
> public static void main()//final String args[])
> {
> }
> }
> -----
>
> package directive misleads compiler somehow.
>
> when compile into binary, it complains about missing class$ identifier
> when compile into .class (-C) it compiles OK, but resulting code could not be run with gij (really strange errors even if I copy .class file info ./org/apache/poi/poifs/dev/ directory)
Please show use *exactly* the commands that you use to compile this
file and the resulting compiler output.
Andrew.