Java programs without a graphical user interface use a computer's command line to interact with the user. It is vital that the program's command line output is properly formatted and spaced so that it ...
The mulit-line string formatting is broken. As eagle-eyed persons will notice, this destroys the indentation completely. From the looks of it, this formatting is done using a simple trim() on each ...
When trying to format the following class one runs into an IAE with Java < 15. package org.test; public class Test { void test() { String sealed = "a sealed test"; } } The stacktrace looks like this ...