This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: undefined reference
>>>>> "Marco" == Marco Herrn <marco@mherrn.de> writes:
>> Well, _does_ org.apache.log4j.AppenderSkeleton have a method close() ?
>> If not, that's a bug in log4j, because AppenderSkeleton.finalize() is
>> calling it.
Marco> Yes it does. But not
Marco> directly. org.apache.log4j.AppenderSkeleton is an abstract
Marco> class that implements the org.apache.log4j.Appender
Marco> interface. finalize() is defined in AppenderSkeleton, close()
Marco> is defined in Appender. So maybe this is a bug in gcj that it
Marco> doesn't recognize the close() method of
Marco> org.apache.log4j.Appender?
Yeah, these are called "Miranda methods", and unfortunately some
versions of gcj have bugs in this area. 3.4 is probably ok, but from
your message it looks like you are using 3.3.
Tom