Code improvements in JavaPreprocessCompileExecuteAndCheckExecutionStrategy.