Project

General

Profile

Bug #8359 ยป gcj-jdk.patch

Dmitry Smirnov, 05/22/2014 09:34 AM

View differences:

src/java/native/libcephfs_jni.cc
if (byteArray.get() == NULL) {
return NULL;
}
env->SetByteArrayRegion(byteArray.get(), 0, addressLength,
reinterpret_cast<const jbyte*>(rawAddress));
reinterpret_cast<jbyte*>(const_cast<void*>(rawAddress)));
if (ss.ss_family == AF_UNIX) {
// Note that we get here for AF_UNIX sockets on accept(2). The unix(7) man page claims
// that the peer's sun_path will contain the path, but in practice it doesn't, and the
    (1-1/1)