From 671bc0efc728a3675208cb1638a4b7aa72053c50 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Sat, 22 Mar 2014 12:55:30 +0400 Subject: [PATCH] Fixes issue with building on Windows --- .../org/teavm/classlib/impl/report/JCLComparisonBuilder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonBuilder.java b/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonBuilder.java index 9a05011a0..20232184b 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonBuilder.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/impl/report/JCLComparisonBuilder.java @@ -17,6 +17,7 @@ package org.teavm.classlib.impl.report; import java.io.*; import java.net.URL; +import java.net.URLDecoder; import java.util.*; import java.util.jar.JarEntry; import java.util.jar.JarInputStream; @@ -128,6 +129,7 @@ public class JCLComparisonBuilder { if (!outDir.exists()) { outDir.mkdirs(); } + path = URLDecoder.decode(path, "UTF-8"); try (JarInputStream jar = new JarInputStream(new FileInputStream(path))) { visitor = new JCLComparisonVisitor(classSource, packageMap); while (true) {