Instrumentation failure of an annotation inside the catch clause

XMLWordPrintable

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

      CentOS 7 64 bit java 7

      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.

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

              Created:
              Updated:
              Resolved: