Skip to content

[LIVY-1041] Initial changes to provide Scala 2.13 compatibility#530

Open
idzikovsky wants to merge 1 commit into
apache:masterfrom
idzikovsky:LIVY-1041-initial-scala-2.13-compatibility
Open

[LIVY-1041] Initial changes to provide Scala 2.13 compatibility#530
idzikovsky wants to merge 1 commit into
apache:masterfrom
idzikovsky:LIVY-1041-initial-scala-2.13-compatibility

Conversation

@idzikovsky

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

I've stared working on Spark 4 compatibility in my local fork. I don't think that all changes that I've made is applicable to be pushed to the upstream project, but this change I'm confident about.

In this fix I mainly updated usage of collections to be compatible with new redesigned Scala 2.13 collections (so as with older Scala 2.11/2.12 collections).

Also, I replaced invocation of ServletContext.initParameters() with ServletContext.setInitParameter(), because the old wrapper is not compatible with a new jakarta.servlet.ServletContext interface (Spark 4 migrated from javax to jakarta), while ServletContext.setInitParameter() is version-independent.

How was this patch tested?

I run unit tests and manually tested that I'm able to create a Session.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.8.

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.

1 participant