Skip to content

Conversation

@ishabandi67
Copy link
Contributor

@ishabandi67 ishabandi67 commented Jun 6, 2024

Fixes #820
While parsing a rawstring back to a quickfix.Message object, CHAR fields are created as StringField because it String.java is the default javaType.

All other primitive types have their wrapper classes defined except CHAR.

While parsing a rawstring back to a quickfix.Message object, CHAR fields are created as StringField because it String.java is the default javaType.

All other primitive types have their wrapper classes defined except CHAR.
@noblemaster
Copy link

There should probably also be a unit test with a concrete example to validate the functionality?

@chrjohn chrjohn changed the title Add Character.class java type for FieldType.CHAR Add Character.class java type for FieldType.CHAR Dec 19, 2025
@chrjohn chrjohn added this to the QFJ 3.0.0 milestone Dec 19, 2025
@chrjohn
Copy link
Member

chrjohn commented Dec 19, 2025

@ishabandi67 thanks for the PR.
@the-thing thank you for your help in reviewing.

@chrjohn chrjohn merged commit 73892e7 into quickfix-j:master Dec 19, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FieldType.CHAR does not define Character.class as java type.

3 participants