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

Allow PrintFailureReports to be turned off

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • infrastructure
    • None
    • b09

      The compile errors you get from HotSpot are quite large, and usually don't get entirely printed in PrintFailureReports. This has the effect that the goto mode to find the compilation error is to scroll past PrintFailureReports to get to the complete error message.

      It would be nice if there was a way to turn off this feature from the command line.

      I'm currently working around this "problem" with:
      diff --git a/make/Init.gmk b/make/Init.gmk
      --- a/make/Init.gmk
      +++ b/make/Init.gmk
      @@ -326,7 +326,7 @@
              $(call CleanupSmartJavac)
              $(call StopGlobalTimer)
              $(call ReportBuildTimes)
      - $(call PrintFailureReports)
      + #$(call PrintFailureReports)
              $(call PrintBuildLogFailures)
              $(call ReportProfileTimes)
              $(PRINTF) "Hint: See doc/building.html#troubleshooting for assistance.\n\n"

            ihse Magnus Ihse Bursie
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: