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

Bad parsing of javac deprecation warning in case of deprecated method with array as parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      For this input log file:

      <log>
      First for Ant javac or pure javac

      [javac] D:\path\to\my\Class.java:225: warning: [deprecation] loadAvailable(java.lang.String,int,int,java.lang.String[]) in my.OtherClass has been deprecated
      [javac] oc.loadAvailable("roottest.xml", 0xFFF, 0xFFFF, new String[]

      {"filter"}

      );
      [javac] ^

      Then for maven javac

      [WARNING] D:\path\to\my\Class.java:[225,39] [deprecation] loadAvailable(java.lang.String,int,int,java.lang.String[]) in my.OtherClass has been deprecated
      </log>

      we expect the category to be 'Deprecation' but we get 'Deprecation] loadAvailable(java.lang.String,int,int,java.lang.String[' instead.

        Attachments

          Activity

            People

            • Assignee:
              vtintillier vtintillier
              Reporter:
              vtintillier vtintillier
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: