This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]