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

test/tools/javac/diags/Example.java leaves directories in tempdir

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      When the test runs it creates temporary directories in java.io.tmpdir in the
      case of unix it is /var/tmp, unfortunately the test does not clean up
      after itself. Thus on a shared system there is a possibility of permission
      issue and perhaps even clobbering/unpredictable results, if multiple
      regression tests are running at the same time by the same user.

      One should use the current directory, this is a unique scratch directory
      created by jteg for this very purpose of creating transient files and
      will be cleaned up on exit.

        Attachments

          Activity

            People

            • Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              ksrini Kumar Srinivasan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: