Buggy code:
static String canondir ; static String bootcp ; static String serverJvm ; static String serverJvmName ; static File outDir ; static File outFile ; static File runDir ; static File runFile ; static Properties suiteProperties ; static Properties specialProperties ; static BufferedReader runlistFile ; static String hostName ; static String testEncoding ; static String upgradejarpath ; static String derbyTestingXaSingle ; static String [ ] clientExclusionKeywords = new String [ ] { "at-or-before:" , "at-or-after:" , "when-at-or-before:jdk" , "when-at-or-after:jdk" , "when:jdk" } ; public RunList ( ) { } public RunList ( Vector suitesToRun , File runDir , File outDir , PrintWriter pwOut , Properties suiteProperties , Properties specialProperties , String topParentSuite ) throws IOException , ClassNotFoundException , Exception { } private static void runSuites ( Vector suitesToRun ) throws FileNotFoundException , IOException , ClassNotFoundException , Exception { } private static void runTests ( Properties suiteProps , String suite ) throws IOException , Exception { ManageSysProps . saveSysProps ( ) ; StringBuffer sb = new StringBuffer ( ) ; RunList . jvm = RunList . jvm . getJvm ( RunList . jvmName ) ; Vector jvmProps = new Vector ( ) ; if ( ( RunList . javaCmd . length ( ) ) > 0 ) { RunList . jvm . setJavaCmd ( RunList . javaCmd ) ; jvmProps . addElement ( ( "javaCmd=" + ( RunList . javaCmd ) ) ) ; } if ( ( ( RunList . testJavaFlags ) != null ) && ( ( RunList . testJavaFlags . length ( ) ) > 0 ) ) jvmProps . addElement ( ( "testJavaFlags=" + ( RunList . testJavaFlags ) ) ) ; if ( ( RunList . classpath ) != null ) jvmProps . addElement ( ( "classpath=" + ( RunList . classpath ) ) ) ; if ( ( RunList . classpathServer ) != null ) jvmProps . addElement ( ( "classpathServer=" + ( RunList . classpathServer ) ) ) ; if ( ( RunList . jversion ) != null ) jvmProps . addElement ( ( "jvm=" + ( RunList . jversion ) ) ) ; if ( ( RunList . framework ) != null ) jvmProps . addElement ( ( "framework=" + ( RunList . framework ) ) ) ; if ( ( RunList . usesystem ) != null ) jvmProps . addElement ( ( "usesystem=" + ( RunList . usesystem ) ) ) ; if ( ( RunList . shutdownurl ) != null ) jvmProps . addElement ( ( "shutdownurl=" + ( RunList . shutdownurl ) ) ) ; if ( ( RunList . upgradetest ) != null ) jvmProps . addElement ( ( "upgradetest=" + ( RunList . upgradetest ) ) ) ; if ( ( RunList . outcopy ) != null ) jvmProps . addElement ( ( "outcopy=" + ( RunList . outcopy ) ) ) ; if ( ( RunList . useoutput ) != null ) jvmProps . addElement ( ( "useoutput=" + ( RunList . useoutput ) ) ) ; if ( ( RunList . verbose ) == true ) jvmProps . addElement ( "verbose=true" ) ; if ( ( ( RunList . reportstderr ) != null ) && ( ( RunList . reportstderr . length ( ) ) > 0 ) ) jvmProps . addElement ( ( "reportstderr=" + ( RunList . reportstderr ) ) ) ; if ( ( ( RunList . jvmflags ) != null ) && ( ( RunList . jvmflags . length ( ) ) > 0 ) ) { <START_BUG> jvmProps . addElement ( ( ( ( "jvmflags=" + '"' ) + ( RunList . jvmflags ) ) + '"' ) ) ; <END_BUG> } if ( ( ( RunList . timeout ) != null ) && ( ( RunList . timeout . length ( ) ) > 0 ) ) { if ( RunList . useprocess ) { jvmProps . addElement ( ( "timeout=" + ( RunList . timeout ) ) ) ; } else { RunTest . timeoutStr = RunList . timeout ; } } if ( Boolean . getBoolean ( "listOnly" ) ) jvmProps . addElement ( "listOnly=true" ) ; if ( ( RunList . encryption ) != null ) jvmProps . addElement ( ( "encryption=" + ( RunList . encryption ) ) ) ; if ( ( RunList . testEncryptionProvider ) != null ) jvmProps . addElement ( ( "testEncryptionProvider=" + ( RunList . testEncryptionProvider ) ) ) ; if ( ( RunList . testEncryptionAlgorithm ) != null ) jvmProps . addElement ( ( "testEncryptionAlgorithm=" + ( RunList . testEncryptionAlgorithm ) ) ) ; if ( ( RunList . jdk12test ) != null ) jvmProps . addElement ( ( "jdk12test=" + ( RunList . jdk12test ) ) ) ; if ( ( RunList . jdk12exttest ) != null ) jvmProps . addElement ( ( "jdk12exttest=" + ( RunList . jdk12exttest ) ) ) ; if ( ( RunList . keepfiles ) != null ) jvmProps . addElement ( ( "keepfiles=" + ( RunList . keepfiles ) ) ) ; if ( ( ( RunList . outputdir ) != null ) && ( ( RunList . outputdir . length ( ) ) > 0 ) ) { jvmProps . addElement ( ( "outputdir=" + ( RunList . outputdir ) ) ) ; } if ( ( ( RunList . topsuitedir ) != null ) && ( ( RunList . topsuitedir . length ( ) ) > 0 ) ) jvmProps . addElement ( ( "topsuitedir=" + ( RunList . topsuitedir ) ) ) ; else jvmProps . addElement ( ( "topsuitedir=" + ( RunList . outputdir ) ) ) ; if ( ( RunList . topreportdir ) != null ) jvmProps . addElement ( ( "topreportdir=" + ( RunList . topreportdir ) ) ) ; else jvmProps . addElement ( ( "topreprtdir=" + ( RunList . topsuitedir ) ) ) ;

Fix:
jvmProps . addElement ( ( "jvmflags=" + ( RunList . jvmflags ) ) ) ;