This is an automated email from the ASF dual-hosted git repository.
dcromberge pushed a commit to branch multi-module-experimental
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
The following commit(s) were added to refs/heads/multi-module-experimental by
this push:
new c830083 Correct RuntimeException message
c830083 is described below
commit c8300834463c12150f15f87e0312eb34aedd0703
Author: David Cromberge <[email protected]>
AuthorDate: Thu Apr 1 22:04:24 2021 +0100
Correct RuntimeException message
---
.../org/apache/datasketches/memory/internal/VirtualMachineMemory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/datasketches-memory-base/src/main/java/org/apache/datasketches/memory/internal/VirtualMachineMemory.java
b/datasketches-memory-base/src/main/java/org/apache/datasketches/memory/internal/VirtualMachineMemory.java
index efc0cc4..b7ffe90 100644
---
a/datasketches-memory-base/src/main/java/org/apache/datasketches/memory/internal/VirtualMachineMemory.java
+++
b/datasketches-memory-base/src/main/java/org/apache/datasketches/memory/internal/VirtualMachineMemory.java
@@ -51,7 +51,7 @@ public final class VirtualMachineMemory {
isPageAligned = (boolean) VM_IS_DIRECT_MEMORY_PAGE_ALIGNED_METHOD
.invoke(null); //static method
} catch (final Exception e) {
- throw new RuntimeException("Could not acquire
jdk.internal.misc.VM: " + e.getClass());
+ throw new RuntimeException("Could not acquire sun.misc.VM: " +
e.getClass());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]