----- Original Message ----- > On 03/14/2013 04:42 PM, Alex Kasko wrote: > >> > But if upstream won't do that, I'll accept a patch that > >> > re- enables copyMemory. > > The code part of the patch (without comments) is: > > > > - public native void copyMemory(long srcAddress, long > > destAddress, > > long bytes); > > + public native void copyMemory(Object srcBase, long srcOffset, > > Object destBase, long destOffset, long bytes); > > + public void copyMemory(long srcAddress, long destAddress, > > long > > bytes) { > > + copyMemory(null, srcAddress, null, destAddress, bytes); > > + } > > > > I can prepare webrev/OCA if necessary. > > Please do, or maybe someone who is already an OpenJDK 6 committer can > prepare one. > > Andrew. > > >
http://cr.openjdk.java.net/~andrew/jdk6/copymemory/webrev.01/ The patched version of OpenJDK6 can build Snappy. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07