Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8149547

checkrepo should suggest -a

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • javafx
    • None


        If a problem is found using -a, the suggested fix should include -a

        diff -r c4934418eede tools/scripts/checkWhiteSpace
        --- a/tools/scripts/checkWhiteSpace Wed Feb 10 08:44:32 2016 -0500
        +++ b/tools/scripts/checkWhiteSpace Wed Feb 10 08:48:21 2016 -0500
        @@ -156,7 +156,12 @@
                 echo "Found $fails whitespace or executable issues"
                 echo
                 echo "To correct, use"
        - echo " bash ${MYDIR}/checkWhiteSpace -F"
        + if [ "$allrepo" ]
        + then
        + echo " bash ${MYDIR}/checkWhiteSpace -a -F"
        + else
        + echo " bash ${MYDIR}/checkWhiteSpace -F"
        + fi
                 echo
                 exit 1
             elif [ "$fails" -ne 0 -a "$fixfiles" ]

              ddhill David Hill (Inactive)
              ddhill David Hill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: