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

Redo the fix for ErrorFile option does not handle pre-existing error files of the same name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      13
    • Resolved In Build:
      b22

      Description

      The fix for JDK-8221738 was only intended to change the behaviour of the ErrorFile handling, but the implementation of that change affects all users of
      prepare_log_file - which also affected the replay log file (see JDK-8223885). That was not expected/intended or approved by the CSR.

      I propose that we rework that fix so that prepare_log_file takes a boolean parameter "can_overwrite" which is then passed through, so that we can only change the ErrorFile handling. If there is a desire to also change the replay log file handling then that should be done through its own RFE and CSR request.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: