8046337: Test closed/tools/pack200/MemoryAllocatorTest.java fails on windows-i586
Reviewed-by: ksrini
--- 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,