Removed dependency on JavaLauncher, it's now JavaLauncher-Util -- which is shared
This commit is contained in:
parent
e2cfd990bb
commit
436b989568
|
@ -23,6 +23,6 @@
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="lib" path="/Dependencies/asm/asm-5.0.3.jar" sourcepath="/Dependencies/asm/asm-5.0.3-src.zip"/>
|
<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"/>
|
<classpathentry kind="output" path="classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -717,7 +717,6 @@ public class Sys {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
jarFile.close();
|
jarFile.close();
|
||||||
|
|
||||||
}
|
}
|
||||||
// Files inside of box deployment
|
// Files inside of box deployment
|
||||||
else if (connection instanceof BoxURLConnection) {
|
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!
|
* remove directories from the search. make sure it's a class file shortcut so we don't load ALL .class files!
|
||||||
*
|
*
|
||||||
|
|
|
@ -69,6 +69,8 @@ import org.bouncycastle.jce.spec.ECParameterSpec;
|
||||||
import org.bouncycastle.math.ec.ECFieldElement;
|
import org.bouncycastle.math.ec.ECFieldElement;
|
||||||
import org.bouncycastle.math.ec.ECPoint;
|
import org.bouncycastle.math.ec.ECPoint;
|
||||||
|
|
||||||
|
import dorkbox.urlHandler.Box;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* http://en.wikipedia.org/wiki/NSA_Suite_B
|
* http://en.wikipedia.org/wiki/NSA_Suite_B
|
||||||
* http://www.nsa.gov/ia/programs/suiteb_cryptography/
|
* 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.
|
* 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 {
|
public static final byte[] hashJarContentsExcludeAction(JarFile jarFile, Digest digest, int action) throws IOException {
|
||||||
// repack token: ':|', from BoxHandler.
|
String token = Box.repack;
|
||||||
// if this is CHANGED, make sure to update it there as well.
|
|
||||||
String token = ":|";
|
|
||||||
|
|
||||||
Enumeration<JarEntry> jarElements = jarFile.entries();
|
Enumeration<JarEntry> jarElements = jarFile.entries();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue