ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [27/50] incubator-ignite git commit: # ignite-537
Date Sat, 11 Apr 2015 17:38:50 GMT
# ignite-537


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

Branch: refs/heads/ignite-718
Commit: f316e9afa523a945d8d02886a896fc6add8d83c6
Parents: c85175b
Author: sboikov <semen.boikov@inria.fr>
Authored: Fri Apr 10 20:58:20 2015 +0300
Committer: sboikov <semen.boikov@inria.fr>
Committed: Fri Apr 10 20:58:20 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f316e9af/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
index d9cec3c..bf8cbdb 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
@@ -5462,6 +5462,13 @@ public class TcpDiscoverySpi extends TcpDiscoverySpiAdapter implements
TcpDiscov
 
         /** {@inheritDoc} */
         @Override protected Class<?> findClass(String name) throws ClassNotFoundException
{
+            try {
+                return U.gridClassLoader().loadClass(name);
+            }
+            catch (ClassNotFoundException ignore) {
+                // Ignore.
+            }
+
             lock.readLock().lock();
 
             try {


Mime
View raw message