Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-08-18 15:19:51 -0400
committereutarass2011-08-18 15:19:51 -0400
commit1cbfc6919692f1ac5ee5b4577ceeea68fc752945 (patch)
treea8e0a0e6a9c84d47de45a546051c17b1624c2bc8
parent41ef13005798423d7425da298aa646b8b51f8772 (diff)
downloadorg.eclipse.tcf-1cbfc6919692f1ac5ee5b4577ceeea68fc752945.tar.gz
org.eclipse.tcf-1cbfc6919692f1ac5ee5b4577ceeea68fc752945.tar.xz
org.eclipse.tcf-1cbfc6919692f1ac5ee5b4577ceeea68fc752945.zip
TCF Core: fixed: incorrect parsing of JSON integers bigger then 2**63
-rw-r--r--plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/protocol/JSON.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/protocol/JSON.java b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/protocol/JSON.java
index 41f873a33..a156c340f 100644
--- a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/protocol/JSON.java
+++ b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/protocol/JSON.java
@@ -410,7 +410,7 @@ public final class JSON {
StringBuffer sb = new StringBuffer();
sb.append(vl);
while (true) {
- sb.append(cur_ch);
+ sb.append((char)cur_ch);
read();
if (cur_ch < '0' || cur_ch > '9') {
BigInteger n = new BigInteger(sb.toString());

Back to the top