Buggy code:
public final class AllTests { private static final Logger log = LoggingManager . getLoggerForClass ( ) ; private AllTests ( ) { } private static void logprop ( String prop , boolean show ) { } private static void logprop ( String prop ) { } public static void main ( String [ ] args ) { if ( ( args . length ) < 1 ) { System . out . println ( ( "You<seq2seq4repair_space>must<seq2seq4repair_space>specify<seq2seq4repair_space>a<seq2seq4repair_space>comma-delimited<seq2seq4repair_space>list<seq2seq4repair_space>of<seq2seq4repair_space>paths<seq2seq4repair_space>to<seq2seq4repair_space>search<seq2seq4repair_space>" + "for<seq2seq4repair_space>unit<seq2seq4repair_space>tests" ) ) ; System . exit ( 1 ) ; } String home = new File ( System . getProperty ( "user.dir" ) ) . getParent ( ) ; System . out . println ( ( "Setting<seq2seq4repair_space>JMeterHome:<seq2seq4repair_space>" + home ) ) ; JMeterUtils . setJMeterHome ( home ) ; AllTests . initializeLogging ( args ) ; AllTests . initializeManager ( args ) ; AllTests . log . info ( ( "JMeterVersion=" + ( JMeterUtils . getJMeterVersion ( ) ) ) ) ; AllTests . logprop ( "java.version" , true ) ; AllTests . logprop ( "java.vm.name" ) ; AllTests . logprop ( "java.vendor" ) ; AllTests . logprop ( "java.home" , true ) ; AllTests . logprop ( "user.home" ) ; AllTests . logprop ( "user.dir" , true ) ; AllTests . logprop ( "user.language" ) ; AllTests . logprop ( "user.region" ) ; AllTests . logprop ( "user.country" ) ; AllTests . logprop ( "user.variant" ) ; AllTests . log . info ( ( "Locale=" + ( Locale . getDefault ( ) . toString ( ) ) ) ) ; AllTests . logprop ( "os.name" , true ) ; AllTests . logprop ( "os.version" , true ) ; AllTests . logprop ( "os.arch" ) ; AllTests . logprop ( "java.class.version" ) ; String cp = System . getProperty ( "java.class.path" ) ; String [ ] cpe = JOrphanUtils . split ( cp , File . pathSeparator ) ; <START_BUG> StringBuffer sb = new StringBuffer ( 3000 ) ; <END_BUG> sb . append ( "java.class.path=" ) ; for ( int i = 0 ; i < ( cpe . length ) ; i ++ ) { sb . append ( "\n" ) ; sb . append ( cpe [ i ] ) ; if ( new File ( cpe [ i ] ) . exists ( ) ) { sb . append ( "<seq2seq4repair_space>-<seq2seq4repair_space>OK" ) ; } else { sb . append ( "<seq2seq4repair_space>-<seq2seq4repair_space>??" ) ; } } AllTests . log . info ( sb . toString ( ) ) ; System . out . println ( "+++++++++++" ) ; AllTests . logprop ( "java.awt.headless" , true ) ; AllTests . logprop ( "java.awt.graphicsenv" , true ) ; System . out . println ( "------------" ) ; System . out . println ( "Creating<seq2seq4repair_space>test<seq2seq4repair_space>suite" ) ; TestSuite suite = AllTests . suite ( args [ 0 ] ) ; int countTestCases = suite . countTestCases ( ) ; System . out . println ( ( "Starting<seq2seq4repair_space>test<seq2seq4repair_space>run,<seq2seq4repair_space>test<seq2seq4repair_space>count<seq2seq4repair_space>=<seq2seq4repair_space>" + countTestCases ) ) ; TestRunner . run ( suite ) ; System . exit ( 0 ) ; } protected static void initializeLogging ( String [ ] args ) { } protected static void initializeManager ( String [ ] args ) { } public static TestSuite suite ( ) { } private static TestSuite suite ( String searchPaths ) { } }

Fix:
StringBuilder sb = new StringBuilder ( 3000 ) ;