Skip to content

Conversation

@writeoncereadmany
Copy link
Contributor

see #494

This is the simplest, least intrusive change to allow generated decoders to be built under JDK21 without warnings.

@writeoncereadmany
Copy link
Contributor Author

any objections to this?

@lucianoviana
Copy link
Contributor

hi - could you please suggest a dictionary so we can reproduce this warning?

@writeoncereadmany
Copy link
Contributor Author

I've attached the most minimal fix dictionary I could create that reproduces - just one application message with one field.

This yields a warning on HeaderEncoder as a result of the constructor, which calls beginStringAsCopy(), which is an instance method - not permitted (without generating a this-escape warning) under JDK21.

FIX44-artio.txt

…coders, required for them to compile without warnings in JDK21

(cherry picked from commit 6a7926b)
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