This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: Patch: super.clone() and CloneNotSupportedException


On Sun, 20 Jul 2003, Mohan Embar wrote:
> As an aside, is there any way to copy a gnu.gcj.RawData instance in
> Java without using clone()

You cannot invoke clone() on a RawData field, or any other methods for
that matter.  There's no such thing as a "RawData instance", and the field
may not even contain a pointer at all.

You can of course use memcpy() from native code.

Jeff


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