Buggy code:
public class RunMe { public static void main ( String [ ] args ) { } private static void ensureJVMIsProperlyConfigured ( String [ ] args ) { if ( ! ( RunMe . isAlreadyConfigured ( ) ) ) { System . out . println ( "Overriding<seq2seq4repair_space>the<seq2seq4repair_space>default<seq2seq4repair_space>JVM<seq2seq4repair_space>settings.<seq2seq4repair_space>If<seq2seq4repair_space>you<seq2seq4repair_space>wish<seq2seq4repair_space>to<seq2seq4repair_space>manually<seq2seq4repair_space>set<seq2seq4repair_space>the<seq2seq4repair_space>JVM<seq2seq4repair_space>settings,<seq2seq4repair_space>include<seq2seq4repair_space>the<seq2seq4repair_space>`-Dorg.jtrfp.trcl.bypassConfigure=true`<seq2seq4repair_space>flag<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>java<seq2seq4repair_space>command." ) ; String executable = ( new File ( "RunMe.jar" ) . exists ( ) ) ? "-jar<seq2seq4repair_space>RunMe.jar" : ( "-cp<seq2seq4repair_space>" + ( System . getProperty ( "java.class.path" ) ) ) + "<seq2seq4repair_space>org.jtrfp.trcl.flow.RunMe" ; <START_BUG> String cmd = "java<seq2seq4repair_space>-Xmx1024M<seq2seq4repair_space>-Dorg.jtrfp.trcl.bypassConfigure=true<seq2seq4repair_space>" + ( ( "-XX:+UnlockExperimentalVMOptions<seq2seq4repair_space>-XX:+DoEscapeAnalysis<seq2seq4repair_space>-XX:+UseFastAccessorMethods<seq2seq4repair_space>" + "-XX:+UseParNewGC<seq2seq4repair_space>-XX:+UseConcMarkSweepGC<seq2seq4repair_space>-XX:MaxGCPauseMillis=5<seq2seq4repair_space>-XX:+AggressiveOpts<seq2seq4repair_space>" ) + "-XX:+UseBiasedLocking<seq2seq4repair_space>-XX:+AlwaysPreTouch<seq2seq4repair_space>-XX:ParallelGCThreads=4<seq2seq4repair_space>-Xms512m<seq2seq4repair_space>-Xmx768m<seq2seq4repair_space>" ) ; <END_BUG> for ( Map . Entry < Object , Object > property : System . getProperties ( ) . entrySet ( ) ) { if ( ( property . getKey ( ) . toString ( ) . startsWith ( "org.jtrfp" ) ) && ( ! ( property . getKey ( ) . toString ( ) . toLowerCase ( ) . contains ( "org.jtrfp.trcl.bypassconfigure" ) ) ) ) cmd += ( ( ( "<seq2seq4repair_space>-D" + ( property . getKey ( ) ) ) + "=" ) + ( property . getValue ( ) ) ) + "<seq2seq4repair_space>" ; } cmd += executable ; for ( String arg : args ) { cmd += "<seq2seq4repair_space>" + arg ; } try { System . out . println ( ( "Restarting<seq2seq4repair_space>JVM<seq2seq4repair_space>with:<seq2seq4repair_space>\n\t" + cmd ) ) ; final Process proc = Runtime . getRuntime ( ) . exec ( cmd ) ; Thread tOut = new Thread ( ) { public void run ( ) { int bytesRead ; byte [ ] buffer = new byte [ 1024 ] ; try { while ( ( bytesRead = proc . getInputStream ( ) . read ( buffer ) ) != ( - 1 ) ) { System . out . write ( buffer , 0 , bytesRead ) ; } } catch ( Exception e ) { e . printStackTrace ( ) ; } } } ; Thread tErr = new Thread ( ) { public void run ( ) { int bytesRead ; byte [ ] buffer = new byte [ 1024 ] ; try { while ( ( bytesRead = proc . getErrorStream ( ) . read ( buffer ) ) != ( - 1 ) ) { System . err . write ( buffer , 0 , bytesRead ) ; } } catch ( Exception e ) { e . printStackTrace ( ) ; } } } ; tOut . start ( ) ; tErr . start ( ) ; tOut . join ( ) ; tErr . join ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } System . exit ( 0 ) ; } } private static boolean isAlreadyConfigured ( ) { } }

Fix:
String cmd = "java<seq2seq4repair_space>-Xmx1024M<seq2seq4repair_space>-Dorg.jtrfp.trcl.bypassConfigure=true<seq2seq4repair_space>-Dcom.sun.management.jmxremote<seq2seq4repair_space>" + ( ( "-XX:+UnlockExperimentalVMOptions<seq2seq4repair_space>-XX:+DoEscapeAnalysis<seq2seq4repair_space>-XX:+UseFastAccessorMethods<seq2seq4repair_space>" + "-XX:+UseParNewGC<seq2seq4repair_space>-XX:+UseConcMarkSweepGC<seq2seq4repair_space>-XX:MaxGCPauseMillis=5<seq2seq4repair_space>-XX:+AggressiveOpts<seq2seq4repair_space>" ) + "-XX:+UseBiasedLocking<seq2seq4repair_space>-XX:+AlwaysPreTouch<seq2seq4repair_space>-XX:ParallelGCThreads=4<seq2seq4repair_space>-Xms512m<seq2seq4repair_space>-Xmx768m<seq2seq4repair_space>" ) ;