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

Logging: LogFileOutput.invalid_file_test crashes when executed twice.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b151

      Description

      LogFileOutput does not clean the tmplogdir it creates, so when it is executed twice in a row it crashes:

      [ RUN ] LogFileOutput.invalid_file_test
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\logTestUtils.inline.hpp:52
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\d031900\openjdk\jdk9-hs2\source\hotspot\test\native\logging\logTestUtils.inline.hpp:52), pid=19124, tid=6084
      # assert(!file_exists(name)) failed: can't create directory: tmplogdir already exists
      #

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kzhaldyb Kirill Zhaldybin (Inactive)
                Reporter:
                stuefe Thomas Stuefe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: