ethereum/ethereumj

Jsontestsuite failed to execute in Windows

oracle3 opened this issue · 2 comments

in function
org.ethereum.jsontestsuite.suite.JSONReader.listJsonBlobsForTreeSha(String, String)
old code:

                    jsons.add(
                            f.replace(path + System.getProperty("file.separator"), "")
                             .replaceAll(System.getProperty("file.separator"), "/"));

should change to:

                    jsons.add(
                            f.replace(path + System.getProperty("file.separator"), "")
                             .replaceAll(Matcher.quoteReplacement(System.getProperty("file.separator")), "/"));

Hm, got your point. Would you mind creating a PR with this change?

how to creating a PR?