8046337: Test closed/tools/pack200/MemoryAllocatorTest.java fails on windows-i586
authorkizune
Mon, 23 Jun 2014 18:09:35 +0400
changeset 25156 354c86ad0bc8
parent 25155 8b98011eac74
child 25157 e2ba09029474
8046337: Test closed/tools/pack200/MemoryAllocatorTest.java fails on windows-i586 Reviewed-by: ksrini
jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp
--- a/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Mon Jun 23 15:51:41 2014 +0200
+++ b/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Mon Jun 23 18:09:35 2014 +0400
@@ -435,7 +435,7 @@
   struct tm* s = gmtime_r(&t, &sbuf);
   if (s == NULL) {
     fprintf(u->errstrm, "Error: gmtime failure, invalid input archive\n");
-    exit(2);
+    exit(-1);
   }
   modtime_cache = modtime;
   dostime_cache = dostime(s->tm_year + 1900, s->tm_mon + 1, s->tm_mday,