Github user jinmeiliao commented on a diff in the pull request:

    https://github.com/apache/geode/pull/308#discussion_r93151987
  
    --- Diff: geode-core/src/test/java/org/apache/geode/util/test/TestUtil.java 
---
    @@ -46,11 +47,15 @@ public static String getResourcePath(Class<?> clazz, 
String name) {
             File tmpFile = File.createTempFile(filename, null);
             tmpFile.deleteOnExit();
             FileUtil.copy(resource, tmpFile);
    -        return tmpFile.getAbsolutePath();
    +        return compatibleWithWindows(tmpFile.getAbsolutePath());
           }
    -      return path;
    +      return compatibleWithWindows(path);
         } catch (URISyntaxException | IOException e) {
           throw new RuntimeException("Failed getting path to resource " + 
name, e);
         }
       }
    +
    +  private static String compatibleWithWindows(String path) {
    --- End diff --
    
    ok, I don't have strong preference either way.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to