Skip to content

Commit

Permalink
Update release notes wrt #3838
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 13, 2023
1 parent 325d129 commit 998ca54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Project: jackson-databind

2.16.0 (not yet released)

#3838: Difference in the handling of `ObjectId-property` in `JsonIdentityInfo`
depending on the deserialization route
(fix contributed by Joo-Hyuk K)
#3877: Add new `OptBoolean` valued property in `@JsonTypeInfo`, handling,
to allow per-polymorphic type loose Type Id handling
(contributed by Joo-Hyuk K)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
package com.fasterxml.jackson.databind.deser;
package com.fasterxml.jackson.databind.objectid;

import com.fasterxml.jackson.annotation.*;

import com.fasterxml.jackson.databind.BaseMapTest;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.exc.MismatchedInputException;

// [databind#3838]: Difference in the handling of ObjectId-property in JsonIdentityInfo depending on the deserialization route.
public class JsonIdentityInfoIdProperty3838Test extends BaseMapTest {

/*
/**********************************************************
/* Set Up
/**********************************************************
*/
public class ObjectId3838Test extends BaseMapTest
{
interface ResultGetter {
String result();
}
Expand Down Expand Up @@ -157,9 +152,9 @@ public String result() {
}

/*
/**********************************************************
/* Test
/**********************************************************
/**********************************************************************
/* Test methods
/**********************************************************************
*/

private final ObjectMapper MAPPER = newJsonMapper();
Expand All @@ -174,7 +169,8 @@ public String result() {
{IntSequencedBean.class, "{'id':-1,'value':'great'}"}
};

public void testUniformHandlingForMissingObjectId() throws Exception {
public void testUniformHandlingForMissingObjectId() throws Exception
{
for (Object[] classAndJsonStrEntry : CLASS_AND_JSON_STRING) {
final Class<?> cls = (Class<?>) classAndJsonStrEntry[0];
final String jsonStr = (String) classAndJsonStrEntry[1];
Expand Down

0 comments on commit 998ca54

Please sign in to comment.