[Clirr-devel] [ clirr-Bugs-1700298 ] Error in CLI parsing of classpaths
Status: Alpha
Brought to you by:
lkuehne
From: SourceForge.net <no...@so...> - 2007-04-13 19:34:04
|
Bugs item #1700298, was opened at 2007-04-13 15:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=590799&aid=1700298&group_id=89627 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nascif Abousalh Neto (nascif) Assigned to: Nobody/Anonymous (nobody) Summary: Error in CLI parsing of classpaths Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=590799&aid=1700298&group_id=89627 |