This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch java-11-experimental
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
The following commit(s) were added to refs/heads/java-11-experimental by this
push:
new 782e94b Match to JDK13
782e94b is described below
commit 782e94b4644c870c0344fc1a8f6a7041826c0eb7
Author: Lee Rhodes <[email protected]>
AuthorDate: Mon Mar 29 13:02:32 2021 -0700
Match to JDK13
---
src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
b/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
index 6e7b6e0..ff5ea6d 100644
--- a/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
+++ b/src/main/java/org/apache/datasketches/memory/AllocateDirectMap.java
@@ -233,7 +233,7 @@ class AllocateDirectMap implements Map {
//final boolean isSync = true; //required as of JDK14, but it is more
complex
try {
final long nativeBaseOffset = //JDK14 add isSync
- (long) FILE_CHANNEL_IMPL_MAP0_METHOD.invoke(fileChannel, mapMode,
mapPosition, mapSize); //JDK14 add isSync
+ (long) FILE_CHANNEL_IMPL_MAP0_METHOD.invoke(fileChannel, mapMode,
mapPosition, mapSize);
return nativeBaseOffset;
} catch (final InvocationTargetException e) {
throw new RuntimeException("Exception while mapping",
e.getTargetException());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]