changeset 10177:24e1bcc1c836

8046337: Test closed/tools/pack200/MemoryAllocatorTest.java fails on windows-i586 Reviewed-by: ksrini
author kizune
date Mon, 23 Jun 2014 18:09:35 +0400
parents 84065ccf6446
children f9f0b70f7891
files src/share/native/com/sun/java/util/jar/pack/zip.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Mon Jun 23 15:51:41 2014 +0200
+++ b/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,