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

serviceability/sa/TestClassDump.java could leave files owned by root on macOS

    XMLWordPrintable

Details

    • b08
    • generic
    • os_x

    Backports

      Description

        When running the hotspot jtreg test serviceability/sa/TestClassDump on a macOS that allows for passwordless sudo the test will leave some files in the working directories that are owned by root and cannot be deleted by normal users.

        On macOS the test start the class dump with sudo if possible. The dumped class files are owned by root. They are located in $JTwork/scratch/jtreg_classes and $JTwork/scratch/jtreg_classes2.

        It would be nice for test automation if the test could cleanup after running or at least change the file permissions.

        Attachments

          Issue Links

            Activity

              People

                cjplummer Chris Plummer
                azeller Arno Zeller
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: