File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
ion/src/test/java/com/fasterxml/jackson/dataformat/ion Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
- package com .fasterxml .jackson .dataformat .ion . failing ;
1
+ package com .fasterxml .jackson .dataformat .ion ;
2
2
3
3
import java .net .URL ;
4
4
5
5
import org .junit .Test ;
6
6
7
- import com .fasterxml .jackson .core .JsonProcessingException ;
8
- import com .fasterxml .jackson .dataformat .ion .IonObjectMapper ;
7
+ import com .fasterxml .jackson .core .exc .StreamReadException ;
9
8
10
9
import static org .junit .Assert .*;
11
10
12
- public class UncaughtException303Test
11
+ public class DatabindRead303Test
13
12
{
14
13
private final IonObjectMapper MAPPER = IonObjectMapper .builder ().build ();
15
14
@@ -21,9 +20,10 @@ public void testUncaughtException303() throws Exception
21
20
try {
22
21
MAPPER .readTree (poc );
23
22
fail ("Should not pass with invalid content" );
24
- } catch (JsonProcessingException e ) {
25
- // !!! TODO: change to match what we actually expect
26
- verifyException (e , "MATCH MESSAGE" );
23
+ } catch (StreamReadException e ) {
24
+ // 19-Dec-2023, tatu: Looks like message depends on ion-java version,
25
+ // cannot easily verify
26
+ // verifyException(e, "Value exceeds the length of its parent container");
27
27
}
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ Active maintainers:
28
28
(fix contributed by Arthur C )
29
29
- (ion ) Update `com .amazon .ion :ion - java ` to 1.11 .0 (from 1.10 .5 )
30
30
31
+ 2.16 .1 (not yet released )
32
+
33
+ #303 : `NullPointerException` in `IonParser.nextToken()`
34
+ (reported by @ZanderHuang )
35
+
31
36
2.16 .0 (15 - Nov - 2023 )
32
37
33
38
#400 : (avro) Rewrite Avro buffer recycling (`ApacheCodecRecycler.java`) to
You can’t perform that action at this time.
0 commit comments