Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3364

Compile with strict options in order to check code quality

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.6.0
    • build

    Description

      In order to dismiss old QA tests based on ant (ZOOKEEPER-3351) we have to enforce code quality by activating some falgs on javac at build time, namely:

       

      <compilerArgs>
         <compilerArg>-Werror</compilerArg>
         <compilerArg>-Xlint:deprecation</compilerArg>
         <compilerArg>-Xlint:unchecked</compilerArg>
         <!-- https://issues.apache.org/jira/browse/MCOMPILER-205 -->
         <compilerArg>-Xpkginfo:always</compilerArg>
      </compilerArgs>

      Attachments

        Activity

          People

            eolivelli Enrico Olivelli
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 50m
                7h 50m