On 10 Nov 2014, at 17:37, Mark Sheppard <mark.shepp...@oracle.com> wrote:
> Hi > please oblige and review the follow change Looks find to me Mark. -Chris. > diff -r c0d1026bff6f src/java.base/windows/native/libnio/MappedByteBuffer.c > --- a/src/java.base/windows/native/libnio/MappedByteBuffer.c Tue Nov 04 > 15:10:38 2014 +0000 > +++ b/src/java.base/windows/native/libnio/MappedByteBuffer.c Mon Nov 10 > 17:32:51 2014 +0000 > @@ -86,6 +86,7 @@ > if (clazz == NULL) > return; // exception thrown > handle_fdID = (*env)->GetFieldID(env, clazz, "handle", "J"); > + CHECK_NULL(handle_fdID); > } > h = jlong_to_ptr((*env)->GetLongField(env, fdo, handle_fdID)); > result = FlushFileBuffers(h); > > to address the parfait issue > > https://bugs.openjdk.java.net/browse/JDK-8037909 > > regards > Mark