ant: StackOverflowError if outjar is a dir with subdirs
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
ProGuard version: 2.0.1
Description:
In the Ant Proguard task, if outjar is a directory with
sub-directories, executing the task triggers a
StackOverflowError.
How to fix the bug:
In source file proguard/ant/ProGuardTask.java, method
getLastModifiedFromSubDir(), replace line 266:
long lastModifiedSub =
getLastModifiedFromSubDir(directory);
with:
long lastModifiedSub =
getLastModifiedFromSubDir(actChild);
(there was an infinite recursion)
Logged In: YES
user_id=192116
I already discovered that ant sent the fix to Eric.
/Dirk