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

RepGenMain in html mode fails on instrumented classes data compiled without -Xjc

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: kbR10066 Date: 11/28/2002


      Suppose a class is compiled without any Jcov-specific switches (-prof=jcov, -Xjcov), then
      instrumented (either statically or dynamically) and run. Coverage data file is then generated (say, java.jcov).
      After that if we try to generate a report in html format (with marked-up sources), report generator
      will output an error message without generating marked-up sources. For example:

      > javac Hello.java
      > setenv CLASSPATH /tmp/jcov.jar:.
      > java com.sun.tdk.jcov.collect.RunMain Hello
      Hello, world!
      > ls java.jcov
      java.jcov
      > java com.sun.tdk.jcov.RepGenMain -fmt=html java.jcov
      *** Warning : source file is inconsistent : Hello.java



      ======================================================================

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: