|
From: | vihtori.mantyla at futurice dot com |
Subject: | [Bug classpath/52276] New: DeflaterHuffman broken in j2me after obfuscation (patch included) |
Date: | Thu, 16 Feb 2012 12:48:51 +0000 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52276 Bug #: 52276 Summary: DeflaterHuffman broken in j2me after obfuscation (patch included) Classification: Unclassified Product: classpath Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P3 Component: classpath AssignedTo: address@hidden ReportedBy: address@hidden DeflaterOutputStream produces invalid deflate output when code has been obfuscated and optimized with Proguard. Apparently the magic string used by DeflaterHuffman.bitReverse(int value) becomes corrupted during the process. Attached is a patch that implements the bitReverse without a magic string. The implementation is also believed to be as fast or faster.
[Prev in Thread] | Current Thread | [Next in Thread] |