agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/common/LocalFileSystemUtils.java [59:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  static File getTempDir(String initialValue, String userName) {
    String tempDirectory = initialValue;

    // does it look shared?
    // TODO: this only catches the Linux case; I think a few system users on Windows might share
    // c:\Windows\Temp
    if ("/tmp".contentEquals(tempDirectory)) {
      File candidate = new File(tempDirectory, userName);
      tempDirectory = candidate.getAbsolutePath();
    }

    return new File(tempDirectory);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



etw/java/src/main/java/com/microsoft/applicationinsights/agent/bootstrap/diagnostics/etw/DllFileUtils.java [115:127]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private static File getTempDir(String initialValue, String userName) {
    String tempDirectory = initialValue;

    // does it look shared?
    // TODO: this only catches the Linux case; I think a few system users on Windows might share
    // c:\Windows\Temp
    if ("/tmp".contentEquals(tempDirectory)) {
      File candidate = new File(tempDirectory, userName);
      tempDirectory = candidate.getAbsolutePath();
    }

    return new File(tempDirectory);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



