This is the java file I'm using to test. This matches the formatting applied by palantir formatter v2.77.0 (when invoked by either IntelliJ or Maven). The difference here is that the subsequent lines ...
class Xyz { void foo() { int i = 0; switch (i) { case 18: { /* Break so we don't hit fall-through warning: */ break;/* ignore STRING */ } }}} results in a different output when you run gjf multiple ...
Thanks for the reply! I thought about that approach, but am on the fence about it (it just doesn't seem like a clean way to go, for whatever reason). My feeling is that there must be code in the JDK ...