diff --git a/pom.xml b/pom.xml
index c019165..af92bc5 100755
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
org.xerial.snappy
snappy-java
- 1.0.5-M1
+ 1.0.5-M2-SNAPSHOT
Snappy for Java
snappy-java: A fast compression/decompression library
bundle
diff --git a/src/main/java/org/xerial/snappy/OSInfo.java b/src/main/java/org/xerial/snappy/OSInfo.java
index ac10b69..95682fa 100755
--- a/src/main/java/org/xerial/snappy/OSInfo.java
+++ b/src/main/java/org/xerial/snappy/OSInfo.java
@@ -77,7 +77,10 @@ public class OSInfo
catch (InterruptedException e) {
// ignored: fall back to "arm" arch (soft-float ABI)
}
- }
+ }
+ else if(getOSName().equals("Mac") && osArch.equals("universal")) {
+ return "x86_64"; // Fix for openjdk7
+ }
return translateArchNameToFolderName(osArch);
}