anton-vinogradov commented on code in PR #13095: URL: https://github.com/apache/ignite/pull/13095#discussion_r3598672988
########## modules/nio/src/main/java/org/apache/ignite/plugin/extensions/communication/Message.java: ########## Review Comment: Done — moved the machinery out of the interface: `REGISTRATIONS` + the `DIRECT_TYPES` cache now live in a package-private `MessageRegistry` (same package), with the conflict validation and the `UnknownMessageException` contract inside. `Message` keeps only the contract — `directType()` / `registerAsDirectType()` delegating. This also fixes what the old shape actually exposed: interface fields are implicitly `public static final`, so the mutable registry map was publicly writable past the validated registration path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
