Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900338

Template generator fails to process directories

XMLWordPrintable

    • 1.1
    • generic
    • generic
    • Verified



      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.
      ======================================================================

            afedorch Alexey Fedorchenko (Inactive)
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: