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

Make it possible to save Jcov data automatically when JVM shuts down

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • jcov_1.2
    • jcov_1.1
    • tools
    • 1.2
    • generic
    • generic
    • Verified

    Description

      Name: kbR10066 Date: 11/12/2002


      Starting from JDK 1.3 the method
      public void addShutdownHook(Thread hook)
      is present in the java.lang.Runtime class. This method could be used by Jcov to automatically
      save coverage data when JVM is being shutdown - regardlessly of whether this was caused
      by a call to System.exit or by return from the main method. This feature would free user from
      having to specify -save... instrumenter options in most cases when the profiled program is terminated
      by a call to System.exit.
      ======================================================================

      Attachments

        Activity

          People

            lmesnik Leonid Mesnik
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: