Skip to content

Commit

Permalink
New release version 1.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
httpdigest committed Oct 31, 2017
1 parent a695da4 commit 90915f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'org.joml'
version = '1.9.6-SNAPSHOT'
version = '1.9.6'

apply plugin: "java"

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.joml</groupId>
<artifactId>joml</artifactId>
<version>1.9.6-SNAPSHOT</version>
<version>1.9.6</version>
<name>JOML</name>
<description>Java OpenGL Math Library</description>
<inceptionYear>2015</inceptionYear>
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/MemUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,7 @@ static final class MemUtilUnsafe extends MemUtilNIO {
//#ifdef __HAS_NIO__
private static long findBufferAddress() {
String javaVersion = System.getProperty("java.version");
if ("9".equals(javaVersion) || "1.9".equals(javaVersion))
if (javaVersion != null && javaVersion.startsWith("9") || javaVersion.startsWith("1.9"))
return findBufferAddressJDK9(null);
else
return findBufferAddressJDK1();
Expand Down

0 comments on commit 90915f5

Please sign in to comment.