Skip to content

Commit eff22a2

Browse files
committed
Add failing test for #7
1 parent 6111543 commit eff22a2

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.fasterxml.jackson.jr.failing;
2+
3+
import static org.junit.Assert.assertArrayEquals;
4+
5+
import com.fasterxml.jackson.jr.ob.JSON;
6+
import com.fasterxml.jackson.jr.ob.TestBase;
7+
8+
public class ReadIntArray7Test extends TestBase
9+
{
10+
public void testReadIntArray() throws Exception
11+
{
12+
final int[] input = new int[] { 1, 2, 3 };
13+
String json = JSON.std.asString(input);
14+
int[] result = JSON.std.beanFrom(int[].class, json);
15+
assertArrayEquals(input, result);
16+
}
17+
}

release-notes/VERSION-2.x

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ No changes since 2.14
4444

4545
#102: Missing module-info dependency from `jackson-jr-annotation-support`
4646
#103: Some artifacts missing `NOTICE`, `LICENSE` files
47-
- Java/JDK baseline raised to Java 8
4847

4948
2.14.2 (28-Jan-2023)
5049
2.14.1 (21-Nov-2022)

0 commit comments

Comments
 (0)