8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2)
authorksrini
Sat, 19 Oct 2013 15:19:40 -0700
changeset 21299 b4e7e588552d
parent 21298 d8a11a962ee3
child 21300 9a71d04b2d02
8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2) Reviewed-by: dholmes
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	Sat Oct 19 20:59:42 2013 +0400
+++ b/jdk/src/share/native/com/sun/java/util/jar/pack/zip.cpp	Sat Oct 19 15:19:40 2013 -0700
@@ -62,7 +62,7 @@
 
 #endif // End of ZLIB
 
-#ifdef sparc
+#ifdef _BIG_ENDIAN
 #define SWAP_BYTES(a) \
     ((((a) << 8) & 0xff00) | 0x00ff) & (((a) >> 8) | 0xff00)
 #else