import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
+import java.sql.SQLSyntaxErrorException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.ArrayList;
}
}
}
+ } catch (SQLSyntaxErrorException e) {
+ String message = e.getMessage();
+ String state = e.getSQLState();
+ DA_LOG.warning(message + " : state(" + state + ")");
} catch (SQLException e) {
e.printStackTrace();
} finally {
import java.io.BufferedReader;
import java.io.BufferedWriter;
+import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
rt.setApplyTime(ToolbarArea.getInstance().getTime());
AnalyzerManager.getProject().addConfigHistory(rt);
} else {
- rt.setApplyTime(0); // set time of configuration to zero
+ rt.setApplyTime(0); // set time of configuration to zero
}
GlobalInformation.setCurrentConfiguration(rt);
byte[] cbuf = new byte[DACommunicator.READ_BUFFER_SIZE * 2];
blocked = true;
DA_LOG.debug("blocked");
- readsize = controlSock.getInputStream().read(cbuf);
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ do {
+ readsize = controlSock.getInputStream().read(cbuf);
+ baos.write(cbuf, 0, readsize);
+ } while (readsize == DACommunicator.READ_BUFFER_SIZE * 2);
blocked = false;
+
+ readsize = baos.size();
+ cbuf = baos.toByteArray();
if (PRINT_CONTROL_LOG_TOFILE && printWriter != null) {
printWriter.printf("recv :");
for (int k = 0; k < readsize; k++)
+* 2.1.39
+- bug fix for exception when specific application is selected in app combo
+- bug fix for exception when new feature is on and feature page is newly displayed
+== Jaewon Lim <jaewon81.lim@samsung.com> 2014-07-04
* 2.1.38
- Refactoring: OpenGL, Network, Chart
- Bug fix: failure in leak detection of range analysis