quickfixj
quickfixj copied to clipboard
`FieldType.CHAR` does not define `Character.class` as java type.
trafficstars
Describe the bug FieldType.CHAR does not define a javaType for itself and defaults to String.class as it's java type.
To Reproduce Pick up any FIX message, with a CharField (for example : RootPartyIDSource) Create a rawstring with any delimiter (example: | ) Try to parse the message using : MessageUtils.parse() The field returned is a StringField instead of CharField.
Expected behavior FieldType.CHAR.getJavaType() should return Character.class like other primitive types.
system information:
- OS: [Windows]
- Java version [JDK 17]
- QFJ Version [e.g. 2.3.1]
#819