viirya opened a new pull request, #59624:
URL: https://github.com/apache/spark/pull/59624

   ### What changes were proposed in this pull request?
   
   This is a follow-up of #59565 for branch-4.0. The SPARK-60305 backport kept 
master's `ReaderInputStream` constructor call in `CloseShieldOutputStreamSuite`:
   
   ```scala
   new runner.ReaderInputStream(worker, writer, None, 0, false, null)
   ```
   
   On branch-4.0, `ReaderInputStream` takes `(worker, writer, handle: 
Option[ProcessHandle], idleTimeoutSeconds: Long)`, so the core test sources 
don't compile. This PR passes the arguments that branch-4.0's constructor takes:
   
   ```scala
   new runner.ReaderInputStream(worker, writer, None, 0)
   ```
   
   ### Why are the changes needed?
   
   To fix the core test compilation on branch-4.0.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, test-only.
   
   ### How was this patch tested?
   
   `build/sbt 'core/testOnly *CloseShieldOutputStreamSuite 
*DirectByteBufferOutputStreamSuite *PythonRDDSuite' core/scalastyle 
core/Test/scalastyle` on branch-4.0 with JDK 17.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   This pull request and its description were written by Isaac.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to