This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/13800] gcj fails to compile a class that extends a class in an external lib
- From: "richardl at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2004 16:05:44 -0000
- Subject: [Bug java/13800] gcj fails to compile a class that extends a class in an external lib
- References: <20040121210839.13800.richardl@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From richardl at redhat dot com 2004-01-22 16:05 -------
Upon further investigation, I discovered a workaround, namely, fully qualifying
the class that you are extending e.g.,
public class foo extends org.apache.lucene.search.Filter {
}
instead of:
public class foo extends Filter {
}
Fully qualifying the parent class name appears to always be necessary regardless
of whether or not an import for that class exists.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13800