This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


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

Re: -Wcloneable ?


Tom Tromey <tromey@redhat.com> writes:

> Today I thought about implementing a `-Wcloneable' option which would
> cause gcj to warn if a class implements Cloneable but doesn't have a
> public clone() method.  Would this be useful?

I don't know.  It certainly should not be triggered by -Wall.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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