ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [03/17] ignite git commit: Fixed ClassNotFoundException for void.class
Date Wed, 01 Jun 2016 11:27:49 GMT
Fixed ClassNotFoundException for void.class


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f487874e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f487874e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f487874e

Branch: refs/heads/ignite-3038
Commit: f487874e2f6776b217aab0661d4009b73234bd79
Parents: 30ca35b
Author: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Authored: Fri Mar 11 14:35:14 2016 -0800
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Tue May 31 09:27:26 2016 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/util/IgniteUtils.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f487874e/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index c5c6398..3717d31 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -592,6 +592,7 @@ public abstract class IgniteUtils {
         primitiveMap.put("double", double.class);
         primitiveMap.put("char", char.class);
         primitiveMap.put("boolean", boolean.class);
+        primitiveMap.put("void", void.class);
 
         boxedClsMap.put(byte.class, Byte.class);
         boxedClsMap.put(short.class, Short.class);
@@ -601,6 +602,7 @@ public abstract class IgniteUtils {
         boxedClsMap.put(double.class, Double.class);
         boxedClsMap.put(char.class, Character.class);
         boxedClsMap.put(boolean.class, Boolean.class);
+        boxedClsMap.put(void.class, Void.class);
 
         try {
             OBJECT_CTOR = Object.class.getConstructor();


Mime
View raw message