jdk/src/share/classes/java/util/zip/ZipEntry.java
changeset 8197 e45f21c2a40b
parent 5506 202f599c92aa
child 8552 f36470084574
--- a/jdk/src/share/classes/java/util/zip/ZipEntry.java	Wed Jul 05 17:32:52 2017 +0200
+++ b/jdk/src/share/classes/java/util/zip/ZipEntry.java	Wed Feb 09 09:19:33 2011 -0500
@@ -110,19 +110,7 @@
      * @see #getTime()
      */
     public void setTime(long time) {
-        // Same value as defined in sun.jkernel.DownloadManager.KERNEL_STATIC_MODTIME
-        // to avoid direct reference to DownoadManager class.  Need to revisit
-        // if this is needed any more (see comment in the DownloadManager class)
-        final int KERNEL_STATIC_MODTIME = 10000000;
-        BootClassLoaderHook hook = BootClassLoaderHook.getHook();
-        if (hook != null && hook.isCurrentThreadPrefetching()) {
-            // fix for bug 6625963: we bypass time calculations while Kernel is
-            // downloading bundles, since they aren't necessary and would cause
-            // the Kernel core to depend upon the (very large) time zone data
-            this.time = KERNEL_STATIC_MODTIME;
-        } else {
-            this.time = javaToDosTime(time);
-        }
+        this.time = javaToDosTime(time);
     }
 
     /**