Buggy code:
public abstract class AbstractTestCase extends TestCase { public static final String TEST_METHODS = System . getProperty ( ( ( AbstractTestCase . class . getName ( ) ) + ".testMethods" ) ) ; public static final long PLATFORM_ALL = 2 << 1 ; public static final long PLATFORM_UNKNOWN = 2 << 2 ; public static final String SKIP_TOKEN = "SOLARSKIP" ; public static final String SKIP_DELIMITER = "|" ; protected String multiThreadExecuting = null ; protected boolean inTimeoutThread = false ; private Log log = null ; private static Map _times = new HashMap ( ) ; private static AbstractTestCase _lastTest = null ; private static AbstractTestCase . WatchdogThread _watchdog = new AbstractTestCase . WatchdogThread ( ) ; private long _timeout ; public AbstractTestCase ( String test ) { } public AbstractTestCase ( ) { } protected final Log getLog ( ) { } protected Log newLog ( ) { } protected String getLogName ( ) { } protected void preTimeout ( ) { } public void run ( TestResult result ) { } protected boolean skipTest ( ) { } public void setUpTestClass ( ) throws Exception { } public void tearDownTestClass ( ) throws Exception { } public void tearDown ( ) throws Exception { <START_BUG> if ( "true" . equals ( System . getProperty ( "meminfo" , "true" ) ) ) <END_BUG> printMemoryInfo ( ) ; super . tearDown ( ) ; } public static Integer randomInt ( ) { } public static Character randomChar ( ) { } public static Long randomLong ( ) { } public static Short randomShort ( ) { } public static Double randomDouble ( ) { } public static Float randomFloat ( ) { } public static Byte randomByte ( ) { } public static Boolean randomBoolean ( ) { } public static Date randomDate ( ) { } public static String randomString ( ) { } public static String randomString ( int len ) { } public static String randomClob ( ) { } public static BigInteger randomBigInteger ( ) { } public static BigDecimal randomBigDecimal ( ) { } public static byte [ ] randomBlob ( ) { } public static Object randomizeBean ( Object bean ) throws IntrospectionException , IllegalAccessException , InvocationTargetException { } public void mttest ( ) throws AbstractTestCase . ThreadingException { } public void mttest ( int threads , int iterations ) { } public void mttest ( int serialCount , int threads , int iterations ) throws AbstractTestCase . ThreadingException { } public void mttest ( int threads , int iterations , final String method , final Object [ ] args ) throws AbstractTestCase . ThreadingException { } public void mttest ( int serialCount , int threads , int iterations , final String method , final Object [ ] args ) throws AbstractTestCase . ThreadingException { } public void mttest ( String title , final int threads , final int iterations , final AbstractTestCase . VolatileRunnable runner ) throws AbstractTestCase . ThreadingException { } public void mttest ( String title , final int serialCount , final int threads , final int iterations , final AbstractTestCase . VolatileRunnable runner ) throws AbstractTestCase . ThreadingException { } public boolean isRootThread ( ) { } public String callingMethod ( String exclude ) { } public static interface VolatileRunnable { public void run ( ) throws Exception { } } public class ThreadingException extends RuntimeException { private final Throwable [ ] _nested ; public ThreadingException ( String msg , Throwable nested ) { } public ThreadingException ( String msg , Throwable [ ] nested ) { } public void printStackTrace ( ) { } public void printStackTrace ( PrintStream out ) { } public void printStackTrace ( PrintWriter out ) { } } public void sleepRandom ( ) { } public void sleepRandom ( int max ) { } public boolean timeout ( long millis ) throws Throwable { } public boolean timeout ( long millis , String methodName ) throws Throwable { } public void startProfile ( String name ) { } public long endProfile ( String name ) { } private static class TimeOutThread extends Thread { public Throwable throwable = null ; public boolean completed = false ; public TimeOutThread ( String name ) { } } public static class OperationTimedOutException extends RuntimeException { private final Throwable _err ; public OperationTimedOutException ( String msg , Throwable throwable ) { } public void printStackTrace ( ) { } public void printStackTrace ( PrintStream out ) { } public void printStackTrace ( PrintWriter out ) { } } public ClassLoader createIsolatedClassLoader ( ) { } public AbstractTestCase . NestedClassLoader createNestedClassLoader ( ) { } public AbstractTestCase . NestedClassLoader createNestedParentClassLoader ( ) { } public Class isolate ( Class target ) throws ClassNotFoundException { } public Class isolate ( String target ) throws ClassNotFoundException { } public Class nest ( Class target ) throws ClassNotFoundException { } public Object isolateNew ( Class target ) throws ClassNotFoundException , IllegalAccessException , InstantiationException { } private static class NestedClassLoader extends AntClassLoader { public NestedClassLoader ( boolean useParent ) { } public Class findClass ( String name ) throws ClassNotFoundException { } } private static class IsolatedClassLoader extends AbstractTestCase . NestedClassLoader { public IsolatedClassLoader ( ) { } } public static void validateCollection ( Collection collection ) { } public static void validateList ( List list ) { } public static void assertIdentical ( List c1 , List c2 ) { } public void assertOrdered ( Collection c , Comparator comp ) { } public void assertNotEquals ( Object a , Object b ) { } public void assertSize ( int size , Object ob ) { } public void copy ( File from , File to ) throws IOException { } public void copy ( InputStream in , File to ) throws IOException { } public void printMemoryInfo ( ) { } public static List iteratorToList ( Iterator i ) { }

Fix:
if ( "true" . equals ( System . getProperty ( "meminfo" ) ) )