Removed dependency on JavaLauncher, it's now JavaLauncher-Util -- which is shared

This commit is contained in:
nathan 2014-09-20 02:17:25 +02:00
parent e2cfd990bb
commit 436b989568
3 changed files with 4 additions and 6 deletions

View File

@ -23,6 +23,6 @@
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/Dependencies/asm/asm-5.0.3.jar" sourcepath="/Dependencies/asm/asm-5.0.3-src.zip"/>
<classpathentry combineaccessrules="false" kind="src" path="/JavaLauncher"/>
<classpathentry combineaccessrules="false" kind="src" path="/JavaLauncher-Util"/>
<classpathentry kind="output" path="classes"/>
</classpath>

View File

@ -717,7 +717,6 @@ public class Sys {
}
}
jarFile.close();
}
// Files inside of box deployment
else if (connection instanceof BoxURLConnection) {
@ -743,7 +742,6 @@ public class Sys {
}
}
/**
* remove directories from the search. make sure it's a class file shortcut so we don't load ALL .class files!
*

View File

@ -69,6 +69,8 @@ import org.bouncycastle.jce.spec.ECParameterSpec;
import org.bouncycastle.math.ec.ECFieldElement;
import org.bouncycastle.math.ec.ECPoint;
import dorkbox.urlHandler.Box;
/**
* http://en.wikipedia.org/wiki/NSA_Suite_B
* http://www.nsa.gov/ia/programs/suiteb_cryptography/
@ -168,9 +170,7 @@ public class Crypto {
* Specifically, to return the hash of the ALL files/directories inside the jar, minus the action specified (LGPL) files.
*/
public static final byte[] hashJarContentsExcludeAction(JarFile jarFile, Digest digest, int action) throws IOException {
// repack token: ':|', from BoxHandler.
// if this is CHANGED, make sure to update it there as well.
String token = ":|";
String token = Box.repack;
Enumeration<JarEntry> jarElements = jarFile.entries();