private @Nullable Manifest createManifest(InputStream manifestStream, File manifestFile) {
    try {
      return new Manifest(manifestStream);
    }
    catch (IOException e) {
      myContext.processMessage(new CompilerMessage(IncArtifactBuilder.getBuilderName(), BuildMessage.Kind.ERROR,
                                                   JpsBuildBundle.message("build.message.cannot.create.manifest.mf.from.0.1",
                                                                          manifestFile.getAbsolutePath(), e.getMessage())));
      LOG.debug(e);
      return null;
    }
  }
private @Nullable Manifest createManifest(InputStream manifestStream, File manifestFile)