Patch: super.clone() and CloneNotSupportedException
Tom Tromey
tromey@redhat.com
Mon Jul 21 01:57:00 GMT 2003
>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
Mohan> void gnu::gcj::xlib::WMSizeHints::finalize()
Mohan> {
Mohan> delete structure;
Mohan> }
Mohan> ----------------------------------8<-----------------------------------
Mohan> In the finalize() method above, I don't see how "delete structure"
Mohan> could be correct without first casting it to an (XSizeHints*).
I'd imagine it "works" since XSizeHints doesn't have a destructor.
But, yeah, it seems like a buglet.
Tom
More information about the Java-patches
mailing list