Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1834

Instrumentation failure of an annotation inside the catch clause

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.1.0
    • Labels:
      None
    • Environment:

      CentOS 7 64 bit java 7

      Description

      Clover is failing to instrument below section of java 7 code

              try
              {
                  innerStream.close();
              }
              catch (@SuppressWarnings("unused") final IOException e)
              {
                  // ignore 
              }
      

      This is a perfectly valid java 7 syntax but clover instrumentation fails at @SuppressWarnings("unused") annotation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              glewandowski Grzegorz Lewandowski
              Reporter:
              yugeshreddy88877890536 Yugesh Kambham
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: