Skip to content

[Java] Invalid code generated for newly added string field#574

Merged
mjpt777 merged 1 commit intoaeron-io:masterfrom
tom-smalls:fix-appendable-decoder-version
Jul 19, 2018
Merged

[Java] Invalid code generated for newly added string field#574
mjpt777 merged 1 commit intoaeron-io:masterfrom
tom-smalls:fix-appendable-decoder-version

Conversation

@tom-smalls
Copy link
Contributor

If a schema is extended to include a new string field (fixed or variable), the newly generated decoder code not compile due to an error for deserialising the string using appendable; if the "sinceVersion" and "actingVersion" don't line up it tries to return a string on a void method. This commit changes the generated code to just call "return;"

If a schema is extended to include a new string field (fixed or variable), the newly generated decoder code not compile due to an error for deserialising the string using appendable; if the "sinceVersion" and "actingVersion" don't line up it tries to return a string on a void method. This commit changes the generated code to just call "return;"
@mjpt777 mjpt777 merged commit 25a606d into aeron-io:master Jul 19, 2018
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.

2 participants