mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fixes issue with building on Windows
This commit is contained in:
parent
8e99b4589e
commit
671bc0efc7
|
@ -17,6 +17,7 @@ package org.teavm.classlib.impl.report;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.net.URLDecoder;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.jar.JarEntry;
|
import java.util.jar.JarEntry;
|
||||||
import java.util.jar.JarInputStream;
|
import java.util.jar.JarInputStream;
|
||||||
|
@ -128,6 +129,7 @@ public class JCLComparisonBuilder {
|
||||||
if (!outDir.exists()) {
|
if (!outDir.exists()) {
|
||||||
outDir.mkdirs();
|
outDir.mkdirs();
|
||||||
}
|
}
|
||||||
|
path = URLDecoder.decode(path, "UTF-8");
|
||||||
try (JarInputStream jar = new JarInputStream(new FileInputStream(path))) {
|
try (JarInputStream jar = new JarInputStream(new FileInputStream(path))) {
|
||||||
visitor = new JCLComparisonVisitor(classSource, packageMap);
|
visitor = new JCLComparisonVisitor(classSource, packageMap);
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user