LuciferYang opened a new pull request, #60377: URL: https://github.com/apache/spark/pull/60377
### What changes were proposed in this pull request? This replaces `Thread.threadId()` with `Thread.getId` in `BaseScriptTransformationSuite`, which the `branch-4.x` backport of SPARK-60753 (dacba477633) brought over from master. ### Why are the changes needed? `Thread.threadId()` was added in Java 19. `branch-4.x` compiles with `-release 17`, so the `sql/core` tests no longer compile on this branch. Both methods return the same ID. ### Does this PR introduce _any_ user-facing change? No, test only. ### How was this patch tested? Existing tests. Without this change, the `sql/core` tests of `branch-4.x` fail to compile with `value threadId is not a member of Thread`. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 -- 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]
