Skip to content

Commit

Permalink
maks ZipInputStreamHack for openjdk6
Browse files Browse the repository at this point in the history
--HG--
branch : 0.0.9.x
  • Loading branch information
Panxiaobo committed Apr 26, 2013
1 parent 3634894 commit 31305db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected ZipEntry createZipEntry(String name) {
}
if (tmpbufField != null) {// for openjdk6
try {
byte[] buffer = (byte[]) flagField.get(this);
byte[] buffer = (byte[]) tmpbufField.get(this);
int flagLow8 = buffer[6];// 6 is for LOCFLG
flagLow8 = (flagLow8 >> 1) << 1;
buffer[6] = (byte) flagLow8;
Expand Down

0 comments on commit 31305db

Please sign in to comment.