Menu

#42 ant: StackOverflowError if outjar is a dir with subdirs

closed-fixed
None
5
2004-03-08
2004-01-09
No

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)

Related

Bugs: #607

Discussion

  • Eric Lafortune

    Eric Lafortune - 2004-01-10
    • assigned_to: nobody --> schnelle
     
  • Dirk Schnelle-Walka

    • status: open --> open-fixed
     
  • Dirk Schnelle-Walka

    Logged In: YES
    user_id=192116

    I already discovered that ant sent the fix to Eric.

    /Dirk

     
  • Eric Lafortune

    Eric Lafortune - 2004-03-08
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB