[Bug java/13800] gcj fails to compile a class that extends a class in an external lib

richardl at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 22 16:05:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list