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

Template generator fails to process directories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: jcov_1.1
    • Fix Version/s: jcov_1.1
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: