-
Bug
-
Resolution: Fixed
-
Major
-
None
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).
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.