DanielLeens commented on PR #11557:
URL: https://github.com/apache/seatunnel/pull/11557#issuecomment-5681070831

   @SEZ9 Addressed PR11557-F1 (`96e52dff`): 
`ManagedSourceRegisterOperation#readInternal` now decodes `readerLocation` via 
`in.readObject(TaskLocation.class)` instead of the untyped `in.readObject()`, 
constraining the decoded type instead of accepting whatever the wire payload's 
factory/class id selects. This mirrors `TaskOperation#readInternal`'s own 
treatment of its base `taskLocation` field, which already uses the same 
type-constrained overload — so the fix follows an existing, established pattern 
in this codebase rather than introducing a new one. Scoped to this file only; 
the pre-existing sibling operations you noted (`RequestSplitOperation`, 
`CloseIdleReaderOperation`, etc.) are unchanged, since they predate this PR and 
are out of its scope.
   


-- 
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]

Reply via email to