diff --git a/classpath/java/util/jar/JarEntry.java b/classpath/java/util/jar/JarEntry.java index dceaf66459..a5463b2dc0 100644 --- a/classpath/java/util/jar/JarEntry.java +++ b/classpath/java/util/jar/JarEntry.java @@ -12,4 +12,8 @@ package java.util.jar; import java.util.zip.ZipEntry; -public abstract class JarEntry extends ZipEntry { } +public abstract class JarEntry extends ZipEntry { + public JarEntry(){ + super(null); + } +} diff --git a/classpath/java/util/zip/ZipEntry.java b/classpath/java/util/zip/ZipEntry.java index d92e9f8113..ab7794ba43 100644 --- a/classpath/java/util/zip/ZipEntry.java +++ b/classpath/java/util/zip/ZipEntry.java @@ -117,7 +117,10 @@ public class ZipEntry { public long getTime(){ return millisTime; + } + public int getJavaTime(){ + return modTimeDate; } /** diff --git a/classpath/java/util/zip/ZipFile.java b/classpath/java/util/zip/ZipFile.java index a4735a2469..b45fead8f7 100644 --- a/classpath/java/util/zip/ZipFile.java +++ b/classpath/java/util/zip/ZipFile.java @@ -285,6 +285,7 @@ public class ZipFile { public final int pointer; public MyZipEntry(Window window, int pointer) { + super(null); this.window = window; this.pointer = pointer; }