Skip to content

Commit b8c4d10

Browse files
committed
Upgrade Jackson version
1 parent c7b7924 commit b8c4d10

File tree

2 files changed

+105
-114
lines changed

2 files changed

+105
-114
lines changed

examples/Helloworld.json

+100-99
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,102 @@
11
{
2-
"instructions": [
3-
{
4-
"flags": 1,
5-
"type": "CreateClass"
6-
},
7-
{
8-
"parent": "java/lang/Object",
9-
"interfaces": [],
10-
"name": "Helloworld",
11-
"version": 52,
12-
"sig": null,
13-
"type": "ClassCodeStart",
14-
"acc": 1
15-
},
16-
{
17-
"type": "SourceInfo",
18-
"name": "Helloworld.idr"
19-
},
20-
{
21-
"excs": null,
22-
"name": "<init>",
23-
"sig": null,
24-
"type": "CreateMethod",
25-
"desc": "()V",
26-
"acc": 1
27-
},
28-
{
29-
"type": "MethodCodeStart"
30-
},
31-
{
32-
"type": "Aload",
33-
"index": 0
34-
},
35-
{
36-
"cname": "java/lang/Object",
37-
"isIntf": false,
38-
"mname": "<init>",
39-
"type": "InvokeMethod",
40-
"desc": "()V",
41-
"invType": 183
42-
},
43-
{
44-
"type": "Return"
45-
},
46-
{
47-
"nstack": -1,
48-
"type": "MaxStackAndLocal",
49-
"nlocal": -1
50-
},
51-
{
52-
"type": "MethodCodeEnd"
53-
},
54-
{
55-
"excs": null,
56-
"name": "main",
57-
"sig": null,
58-
"type": "CreateMethod",
59-
"desc": "([Ljava/lang/String;)V",
60-
"acc": 9
61-
},
62-
{
63-
"type": "MethodCodeStart"
64-
},
65-
{
66-
"cname": "java/lang/System",
67-
"ftype": 178,
68-
"type": "Field",
69-
"desc": "Ljava/io/PrintStream;",
70-
"fname": "out"
71-
},
72-
{
73-
"constType": "StringConst",
74-
"type": "Ldc",
75-
"val": "Hello world!"
76-
},
77-
{
78-
"cname": "java/io/PrintStream",
79-
"isIntf": false,
80-
"mname": "println",
81-
"type": "InvokeMethod",
82-
"desc": "(Ljava/lang/Object;)V",
83-
"invType": 182
84-
},
85-
{
86-
"type": "Return"
87-
},
88-
{
89-
"nstack": -1,
90-
"type": "MaxStackAndLocal",
91-
"nlocal": -1
92-
},
93-
{
94-
"type": "MethodCodeEnd"
95-
},
96-
{
97-
"type": "ClassCodeEnd",
98-
"out": "Helloworld.class"
99-
}
100-
]
2+
"instructions": [
3+
{
4+
"flags": 1,
5+
"type": "CreateClass"
6+
},
7+
{
8+
"parent": "java/lang/Object",
9+
"interfaces": [],
10+
"name": "Helloworld",
11+
"version": 52,
12+
"sig": null,
13+
"type": "ClassCodeStart",
14+
"acc": 1
15+
},
16+
{
17+
"type": "SourceInfo",
18+
"name": "Helloworld.idr"
19+
},
20+
{
21+
"excs": null,
22+
"cname": "Helloworld",
23+
"fname": "<init>",
24+
"sig": null,
25+
"type": "CreateMethod",
26+
"desc": "()V",
27+
"acc": 1
28+
},
29+
{
30+
"type": "MethodCodeStart"
31+
},
32+
{
33+
"type": "Aload",
34+
"index": 0
35+
},
36+
{
37+
"cname": "java/lang/Object",
38+
"isIntf": false,
39+
"mname": "<init>",
40+
"type": "InvokeMethod",
41+
"desc": "()V",
42+
"invType": 183
43+
},
44+
{
45+
"type": "Return"
46+
},
47+
{
48+
"nstack": -1,
49+
"type": "MaxStackAndLocal",
50+
"nlocal": -1
51+
},
52+
{
53+
"type": "MethodCodeEnd"
54+
},
55+
{
56+
"excs": null,
57+
"cname": "Helloworld",
58+
"fname": "main",
59+
"sig": null,
60+
"type": "CreateMethod",
61+
"desc": "([Ljava/lang/String;)V",
62+
"acc": 9
63+
},
64+
{
65+
"type": "MethodCodeStart"
66+
},
67+
{
68+
"cname": "java/lang/System",
69+
"ftype": 178,
70+
"type": "Field",
71+
"desc": "Ljava/io/PrintStream;",
72+
"fname": "out"
73+
},
74+
{
75+
"type": "LdcString",
76+
"val": "Hello world!"
77+
},
78+
{
79+
"cname": "java/io/PrintStream",
80+
"isIntf": false,
81+
"mname": "println",
82+
"type": "InvokeMethod",
83+
"desc": "(Ljava/lang/Object;)V",
84+
"invType": 182
85+
},
86+
{
87+
"type": "Return"
88+
},
89+
{
90+
"nstack": -1,
91+
"type": "MaxStackAndLocal",
92+
"nlocal": -1
93+
},
94+
{
95+
"type": "MethodCodeEnd"
96+
},
97+
{
98+
"type": "ClassCodeEnd",
99+
"out": "."
100+
}
101+
]
101102
}

pom.xml

+5-15
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<properties>
1616
<jersey.version>2.23.2</jersey.version>
17-
<jackson.version>2.8.1</jackson.version>
17+
<jackson.version>2.9.5</jackson.version>
1818
<jetty.version>9.3.11.v20160721</jetty.version>
1919
<asm.version>5.1</asm.version>
2020
<joptsimple.version>5.0.2</joptsimple.version>
@@ -52,21 +52,11 @@
5252
</dependency>
5353

5454
<dependency>
55-
<groupId>com.fasterxml.jackson.core</groupId>
56-
<artifactId>jackson-core</artifactId>
57-
<version>${jackson.version}</version>
58-
</dependency>
59-
60-
<dependency>
61-
<groupId>com.fasterxml.jackson.core</groupId>
62-
<artifactId>jackson-databind</artifactId>
63-
<version>${jackson.version}</version>
64-
</dependency>
65-
66-
<dependency>
67-
<groupId>com.fasterxml.jackson.core</groupId>
68-
<artifactId>jackson-annotations</artifactId>
55+
<groupId>com.fasterxml.jackson</groupId>
56+
<artifactId>jackson-bom</artifactId>
6957
<version>${jackson.version}</version>
58+
<type>pom</type>
59+
<scope>import</scope>
7060
</dependency>
7161

7262
<dependency>

0 commit comments

Comments
 (0)