diff --git a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONArrayAdvisor.java b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONArrayAdvisor.java index 21c055c..ba391f2 100644 --- a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONArrayAdvisor.java +++ b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONArrayAdvisor.java @@ -86,7 +86,7 @@ public static void arrayWriteChar(Object array, int index, char value) { long threadId = Thread.currentThread().getId(); long timeStamp = System.nanoTime(); - JSONTraceGenerator.arraySetOutput(array.getClass().getName(), Integer.toString(System.identityHashCode(array)), index, "char", Character.toString(value), threadId, timeStamp); + JSONTraceGenerator.arraySetOutput(array.getClass().getName(), Integer.toString(System.identityHashCode(array)), index, "char", Integer.toString(Character.getNumericValue(value)), threadId, timeStamp); ((char [])array)[index] = value; } @@ -94,7 +94,7 @@ char value = ((char [])array)[index]; long threadId = Thread.currentThread().getId(); long timeStamp = System.nanoTime(); - JSONTraceGenerator.arrayGetOutput(array.getClass().getName(), Integer.toString(System.identityHashCode(array)), index, "char", Character.toString(value), threadId, timeStamp); + JSONTraceGenerator.arrayGetOutput(array.getClass().getName(), Integer.toString(System.identityHashCode(array)), index, "char", Integer.toString(Character.getNumericValue(value)), threadId, timeStamp); return value; }