From be18ed0274766d4ca45de42eaec30384ceed8272 Mon Sep 17 00:00:00 2001 From: Ned Twigg Date: Sat, 11 Jun 2022 15:57:45 -0700 Subject: [PATCH] Apply the fix from #1224 to PalantirJavaFormatStep. --- .../java/com/diffplug/spotless/java/PalantirJavaFormatStep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java b/lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java index a5474d549b..89673787d6 100644 --- a/lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java +++ b/lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java @@ -60,6 +60,7 @@ private static final class State implements Serializable { private final String formatterVersion; State(JarState jarState, String formatterVersion) { + ModuleHelper.doOpenInternalPackagesIfRequired(); this.jarState = jarState; this.formatterVersion = formatterVersion; }