private static void reportCorruptedArtifactZip(@NotNull CompileContext context,
                                                 @NotNull String libraryName,
                                                 @NotNull JpsMavenRepositoryLibraryDescriptor descriptor,
                                                 @NotNull Path artifactFile) {
    if (SystemProperties.getBooleanProperty(RESOLUTION_REPORT_CORRUPTED_ZIP_PROPERTY, false)) {
      String sha256;
      try {
        // compute checksum to ensure the artifact is copied without errors
        sha256 = JpsChecksumUtil.getSha256Checksum(artifactFile);
      }
      catch (IOException e) {
        LOG.error("Failed to compute checksum for corrupted zip: " + artifactFile, e);
        sha256 = "failed_to_compute";
      }
      reportBadArtifact(context, libraryName, descriptor, artifactFile, sha256, "corrupted_zip");
    }
  }
private static void reportCorruptedArtifactZip(@NotNull CompileContext context,
                                                 @NotNull String libraryName,
                                                 @NotNull JpsMavenRepositoryLibraryDescriptor descriptor,
                                                 @NotNull Path artifactFile)