Skip to content

Commit 2a40436

Browse files
Regression test for java arrays json output
1 parent 3399a6b commit 2a40436

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
314 Bytes
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
public class Test {
2+
public static void main(long[] a) {
3+
if(a.length<3)
4+
return;
5+
for(int i=0; i<a.length; i++) {
6+
a[i]=(long)i;
7+
}
8+
}
9+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
Test.class
3+
--cover location --trace --json-ui --unwind 5
4+
activate-multi-line-match
5+
EXIT=0
6+
SIGNAL=0
7+
"lhs": "dynamic_2_array\[1L\]",\n *"mode": "java",\n *"sourceLocation": \{\n *"bytecodeIndex": "15",\n *"file": "Test\.java",\n *"function": "java::Test\.main:\(\[J\)V",\n *"line": "6"\n *\},\n *"stepType": "assignment",\n *"thread": 0,\n *"value": \{\n *"binary": "0000000000000000000000000000000000000000000000000000000000000001",\n *"data": "1L",\n *"name": "integer",\n *"type": "long",\n *"width": 64
8+
--
9+
"name": "unknown"
10+
^warning: ignoring

0 commit comments

Comments
 (0)