From 0f6e14bdc434be3d72b57401d806aca59b1d5508 Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Wed, 13 Dec 2017 11:59:07 -0500 Subject: [PATCH] InMemoryModule: Expand on comment about Jimfs Change-Id: I7d61455b6abf677bb1708b2702a8e5604c97336b --- java/com/google/gerrit/testing/InMemoryModule.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/com/google/gerrit/testing/InMemoryModule.java b/java/com/google/gerrit/testing/InMemoryModule.java index 06a1476c22..c714d74157 100644 --- a/java/com/google/gerrit/testing/InMemoryModule.java +++ b/java/com/google/gerrit/testing/InMemoryModule.java @@ -171,7 +171,8 @@ public class InMemoryModule extends FactoryModule { bindScope(RequestScoped.class, PerThreadRequestScope.REQUEST); - // TODO(dborowitz): Use jimfs. + // TODO(dborowitz): Use Jimfs. The biggest blocker is that JGit does not support Path-based + // Configs, only FileBasedConfig. bind(Path.class).annotatedWith(SitePath.class).toInstance(Paths.get(".")); bind(Config.class).annotatedWith(GerritServerConfig.class).toInstance(cfg); bind(GerritOptions.class).toInstance(new GerritOptions(cfg, false, false, false));