Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Util.getWinDirs triggers an antivirus #28

Open
@rivashin

Description

@rivashin

OS: Windows 10

A java program calling Util.getWinDirs() triggers an antivirus scan on my laptop (Avecto Defendpoint) and takes almost 2 minutes to complete.
E.g this class:

public class A {
  public static void main(String[] a) throws Exception {
    System.out.println("Hello! " + new java.util.Date());
    io.github.soc.directories.ProjectDirectories.from("crash", "boom", "bang");
    System.out.println("Bye! " + new java.util.Date());
  }
}

prints

Hello! Sat Jan 18 21:30:56 GMT 2020
Bye! Sat Jan 18 21:32:40 GMT 2020

Interestingly, if I save the powershell script that ProjectDirectories use into a file a.ps1 and run it like this: powershell -File a.ps1 then it completes in a couple of seconds.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions