Menu

#8 Error in CLI parsing of classpaths

closed-fixed
Other (1)
5
2007-04-15
2007-04-13
No

In Clirr 0.6, method private File[] pathToFileArray(String path), you have the following call:
int colonPos = path.indexOf(pos, File.pathSeparatorChar);

The order of the arguments is reversed. From the JavaDoc:
int java.lang.String.indexOf(int ch, int fromIndex)

This is causing the classpath to miss all but the first entry when the CLI is used to invoke Clirr.

Discussion

  • Lars Kühne

    Lars Kühne - 2007-04-15

    Logged In: YES
    user_id=401384
    Originator: NO

    fixed in CVS

     
  • Lars Kühne

    Lars Kühne - 2007-04-15
    • assigned_to: nobody --> lkuehne
    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.