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

Allow PrintFailureReports to be turned off

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      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"

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: