Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B2B66200C33 for ; Fri, 3 Feb 2017 19:35:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B17D1160B55; Fri, 3 Feb 2017 18:35:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D95D3160B78 for ; Fri, 3 Feb 2017 19:35:32 +0100 (CET) Received: (qmail 28617 invoked by uid 500); 3 Feb 2017 18:35:31 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 28286 invoked by uid 99); 3 Feb 2017 18:35:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2017 18:35:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 60E6EE9401; Fri, 3 Feb 2017 18:35:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: klund@apache.org To: commits@geode.apache.org Date: Fri, 03 Feb 2017 18:35:52 -0000 Message-Id: <3f3b680f482947a9abc20079f6777395@git.apache.org> In-Reply-To: <1dbb6ff161b34c86aba4d6609ff05b0f@git.apache.org> References: <1dbb6ff161b34c86aba4d6609ff05b0f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [23/32] geode git commit: GEODE-2227 AutoSerializableJUnitTest.testMultipleClassLoaders fails on Windows archived-at: Fri, 03 Feb 2017 18:35:34 -0000 GEODE-2227 AutoSerializableJUnitTest.testMultipleClassLoaders fails on Windows This closes #330 Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/7b5e2ccd Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/7b5e2ccd Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/7b5e2ccd Branch: refs/heads/feature/GEODE-1930-2 Commit: 7b5e2ccd7f0ab2f2c716d7252dd006ecd1b55b53 Parents: c1bedbc Author: Kai Jiang Authored: Thu Jan 5 04:11:26 2017 -0800 Committer: Anthony Baker Committed: Thu Feb 2 16:42:17 2017 -0800 ---------------------------------------------------------------------- .../java/org/apache/geode/pdx/AutoSerializableJUnitTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/7b5e2ccd/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java ---------------------------------------------------------------------- diff --git a/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java b/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java index 40ef28e..81086bd 100644 --- a/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java +++ b/geode-core/src/test/java/org/apache/geode/pdx/AutoSerializableJUnitTest.java @@ -45,9 +45,6 @@ import java.util.concurrent.ConcurrentHashMap; import static org.apache.geode.distributed.ConfigurationProperties.MCAST_PORT; import static org.junit.Assert.*; -/** - * TODO: fails (on Windows 7?) - */ @Category({IntegrationTest.class, SerializationTest.class}) public class AutoSerializableJUnitTest { @@ -1291,7 +1288,7 @@ public class AutoSerializableJUnitTest { List urls = new ArrayList(); String classPathStr = System.getProperty("java.class.path"); if (classPathStr != null) { - String[] cpList = classPathStr.split(":"); + String[] cpList = classPathStr.split(System.getProperty("path.separator")); for (String u : cpList) { urls.add(new File(u).toURI().toURL()); }