------- Additional Comments From rmathew at gcc dot gnu dot org 2004-10-27 14:08 ------- Weird! I don't see this error at all (i686-pc-linux-gnu) with the current mainline: -------------------------- 8< -------------------------- ~/src/tmp/r1 > cat com/example/Test.java package com.example; import com.example.*; class Test { }
~/src/tmp/r1 > $MYGCJ -classpath . -C com/example/Test.java ~/src/tmp/r1 > $MYGCJ --version gcj (GCC) 4.0.0 20041027 (experimental) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -------------------------- 8< -------------------------- MYGCJ is a variable defined in such a way that I can use the GCJ built from CVS without having to actually install it: ~/src/tmp/r1 > echo $MYGCJ /home/ranmath/src/gcc/build/gcc/gcj -B/home/ranmath/src/gcc/build/gcc/ -B/home/r anmath/src/gcc/build/i686-pc-linux-gnu/libjava/ -I/home/ranmath/src/gcc/build/i6 86-pc-linux-gnu/libjava/libgcj-4.0.0.jar -L/home/ranmath/src/gcc/build/i686-pc-l inux-gnu/libjava/.libs But I don't think that should affect the outcome. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18175