Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Nov 16, 2023
1 parent bf2b252 commit 5601212
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ ReducedClasspath getReducedClasspath(
ImmutableList.copyOf(
Iterables.filter(
transitiveCollection, input -> direct.contains(input.getExecPathString())));
System.err.println("Reduced classpath for " + prettyPrint() + ": " + reducedJars);
return new ReducedClasspath(reducedJars, transitiveCollection.size());
}

Expand Down Expand Up @@ -444,6 +445,7 @@ public ActionResult execute(ActionExecutionContext actionExecutionContext)
return ActionResult.create(primaryResults);
}

System.err.println("Failed reduced classpath compilation for " + prettyPrint());
logger.atInfo().atMostEvery(1, SECONDS).log(
"Failed reduced classpath compilation for %s", lazy(JavaCompileAction.this::prettyPrint));
// Fall back to running with the full classpath. This requires first deleting potential
Expand Down

0 comments on commit 5601212

Please sign in to comment.