Bug #8359 ยป gcj-jdk.patch
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
|