Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21240

Javac compiler "cannot find annotation method" warnings are ignored

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a few of the following warnings outputted by javac:

      aaa.class: warning: Cannot find annotation method 'xxx()' in type 'yyyy': class file for fully.qualified.ClassName not found

      However, they are not being picked up by the Warnings plug-in. I assume it is because they don't have the typical format of "[javac] file: warning: [type] message" (as the [type] part is not there).

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/WarningsPublisher.java
          src/main/java/hudson/plugins/warnings/parser/AntJavacParser.java
          src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java
          src/test/java/hudson/plugins/warnings/parser/JavacParserTest.java
          src/test/resources/hudson/plugins/warnings/parser/issue21240.txt
          http://jenkins-ci.org/commit/warnings-plugin/32d39fc6a60c8252db573a6bf9646682f0c69c01
          Log:
          [FIXED JENKINS-21240] Improve regexp.
          Now missing class file warnings are also catched.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/WarningsPublisher.java src/main/java/hudson/plugins/warnings/parser/AntJavacParser.java src/test/java/hudson/plugins/warnings/parser/AntJavacParserTest.java src/test/java/hudson/plugins/warnings/parser/JavacParserTest.java src/test/resources/hudson/plugins/warnings/parser/issue21240.txt http://jenkins-ci.org/commit/warnings-plugin/32d39fc6a60c8252db573a6bf9646682f0c69c01 Log: [FIXED JENKINS-21240] Improve regexp. Now missing class file warnings are also catched.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              kmart216 David Humeniuk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: