This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11600-12-test
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-11600-12-test by this 
push:
     new dedcf52  IGNITE-11669 Test of fix with enforcement to be used on all 
Javas
dedcf52 is described below

commit dedcf52b84c8a9cd8d45c4fad1598be835fbc3db
Author: Dmitriy Pavlov <dpav...@apache.org>
AuthorDate: Mon Apr 1 21:04:54 2019 +0300

    IGNITE-11669 Test of fix with enforcement to be used on all Javas
---
 .../core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java 
b/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java
index 6145295..7f7c395 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java
@@ -129,7 +129,7 @@ public abstract class GridUnsafe {
 
         Constructor<?> directBufCtor = null;
 
-        if (majorJavaVersion(jdkVersion()) < 12) {
+        if (majorJavaVersion(jdkVersion()) < 8) {
             // for old java prefer Java NIO & Shared Secrets obect init way
             try {
                 nioAccessObj = javaNioAccessObject();

Reply via email to