|
Re: [jdepend] exception while running jdepend
On Jul 14, 2004, at 8:48 AM, Bharat Goyal wrote:
> I have been using the JDepend cent as part of Centipede for builds. It
> is working fine for all projects, until recently it has started giving
> me this exception for on eof them.
>
> I get this...
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
> String index out of range: -8
> at java.lang.String.substring(String.java:1520)
> at jdepend.framework.JavaSourceFileParser.parseImport(Unknown
> Source)
> at jdepend.framework.JavaSourceFileParser.addImport(Unknown
> Source)
> at jdepend.framework.JavaSourceFileParser.parse(Unknown Source)
> at jdepend
> Any help appreciated.
Hi Bharat,
That's an artifact of an older version of JDepend, back in the day when
you could analyze source files. Modern versions only analyze class
files for better accuracy.
Regards,
Mike
|