Name: kbR10066 Date: 01/31/2002
Template generator exits with error when trying to process
a classfile located in a directory specified via -classpath switch:
> ls
test.class
> java -cp jcov.jar com.sun.tdk.jcov.TmplGenMain -dtype=M -classpath=.
java.lang.StringIndexOutOfBoundsException: String index out of range: -4
at java.lang.String.substring(String.java:1503)
at com.sun.tdk.jcov.TmplGenMain.run(TmplGenMain.java:270)
at com.sun.tdk.jcov.TmplGenMain.main(TmplGenMain.java:347)
This does not occur when .jar files are processed or when classes are specified via -class option.
======================================================================