You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2018/04/27 14:58:09 UTC

[geode] branch develop updated: GEODE-4858: the scanner would scan the entire classpath for @XSDRootElement annotation. (#1872)

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

jinmeiliao pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2c57106  GEODE-4858: the scanner would scan the entire classpath for @XSDRootElement annotation. (#1872)
2c57106 is described below

commit 2c57106793c73eaf333190ad79b1daec242e9ac0
Author: jinmeiliao <ji...@pivotal.io>
AuthorDate: Fri Apr 27 07:58:01 2018 -0700

    GEODE-4858: the scanner would scan the entire classpath for @XSDRootElement annotation. (#1872)
---
 .../distributed/internal/InternalClusterConfigurationService.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/distributed/internal/InternalClusterConfigurationService.java b/geode-core/src/main/java/org/apache/geode/distributed/internal/InternalClusterConfigurationService.java
index 02b5a68..b819ccc 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/internal/InternalClusterConfigurationService.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/internal/InternalClusterConfigurationService.java
@@ -179,8 +179,8 @@ public class InternalClusterConfigurationService implements ClusterConfiguration
     }
     // else, scan the classpath to find all the classes annotated with XSDRootElement
     else {
-      Set<Class<?>> scannedClasses = ClasspathScanLoadHelper
-          .scanClasspathForAnnotation(XSDRootElement.class, "org.apache.geode");
+      Set<Class<?>> scannedClasses =
+          ClasspathScanLoadHelper.scanClasspathForAnnotation(XSDRootElement.class, "");
       this.jaxbService = new JAXBService(scannedClasses.toArray(new Class[scannedClasses.size()]));
     }
     jaxbService.validateWithLocalCacheXSD();

-- 
To stop receiving notification emails like this one, please contact
jinmeiliao@apache.org.