System.out.print and System.out.println could potentially be added to forbidden apis if we can exclude dev classes. grep -r -l --exclude-dir=.svn System.out.println src/java/ src/ooxml/java src/scratchpad/src/ lists 62 files, most of which are dev classes, but includes some classes that shouldn't be using System.out.println, such as: src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java
There is a bundled signature for this: <bundledsignatures name="jdk-system-out"/> However disabling forbidden-apis in all the examples and devtools via annotation is a bit tedious and excludes all api-checks in those classes/methods.
*** Bug 61536 has been marked as a duplicate of this bug. ***
Doh. Thank you, Javen...
r1808903 focused on println in tests. * redirected stdout for x.main(args) calls. * deleted a few printlns that were prob useful during development. * commented out a few printlns that I felt someone might want to turn back on during development * converted some to POILogger.log() * left the printlns in MemoryUsage...not sure what to do with those?!