You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2021/04/01 21:04:38 UTC

[datasketches-memory] branch multi-module-experimental updated: Correct RuntimeException message

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 <da...@gmail.com>
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: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org