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

Instrumentation failure of an annotation inside the catch clause

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 4.1.0
    • 4.0.3
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: