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

Logging: LogFileOutput.invalid_file_test crashes when executed twice.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b151

      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
      #

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

              Created:
              Updated:
              Resolved: