add jdk-test target, and fix failures

The intent of this target is to run our test suite against the installed jre.
This should help prevent our VM from diverging in implementation from the jdk.

The remainder of this commit fixes the problems that this exposes.
This commit is contained in:
Joshua Warner
2013-12-06 14:56:02 -07:00
parent 39e3850ed8
commit 47a7732a81
11 changed files with 44 additions and 19 deletions

View File

@ -50,7 +50,7 @@ public class JarFile extends ZipFile {
}
}
public int getCompressedSize() {
public long getCompressedSize() {
try {
return compressedSize(window, pointer);
} catch (IOException e) {
@ -58,7 +58,7 @@ public class JarFile extends ZipFile {
}
}
public int getSize() {
public long getSize() {
try {
return uncompressedSize(window, pointer);
} catch (IOException e) {