Skip to content

Commit e1e0c0b

Browse files
committed
Fix #765
1 parent 6b2fbba commit e1e0c0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

release-notes/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Project: jackson-databind
2222
#737: Add support for writing raw values in TokenBuffer
2323
(suggested by Guillaume S, gsmet@github)
2424
#743: Add `RawValue` helper type, for piping raw values through `TokenBuffer`
25+
#765: `SimpleType.withStaticTyping()` impl incorrect
2526
- Remove old cglib compatibility tests; cause problems in Eclipse
2627

2728
2.5.3 (not yet released)

src/main/java/com/fasterxml/jackson/databind/type/SimpleType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public SimpleType withContentValueHandler(Object h) {
155155
@Override
156156
public SimpleType withStaticTyping() {
157157
return _asStatic ? this : new SimpleType(_class,
158-
_typeNames, _typeParameters, _valueHandler, _typeHandler, _asStatic, _typeParametersFor);
158+
_typeNames, _typeParameters, _valueHandler, _typeHandler, true, _typeParametersFor);
159159
}
160160

161161
@Override

0 commit comments

Comments
 (0)