Skip to content

[backport] Make the CharSequence wrappers in Predef non-implicit, for JDK 15#9322

Merged
lrytz merged 1 commit intoscala:2.12.xfrom
SethTisue:backport-9292
Nov 18, 2020
Merged

[backport] Make the CharSequence wrappers in Predef non-implicit, for JDK 15#9322
lrytz merged 1 commit intoscala:2.12.xfrom
SethTisue:backport-9292

Conversation

@SethTisue
Copy link
Member

In JDK 15 CharSequence has an isEmpty method with a default
implementation, which clashes with our Array[Char]#isEmpty,
IndexedSeq[Char]#isEmpty, as well as our StringBuilder and reflect's
Name.

Backport of #9292 from 2.13.x to 2.12.x

@scala-jenkins scala-jenkins added this to the 2.12.14 milestone Nov 18, 2020
@SethTisue SethTisue requested a review from dwijnand November 18, 2020 01:30
@SethTisue SethTisue modified the milestones: 2.12.14, 2.12.13 Nov 18, 2020
@SethTisue SethTisue added prio:blocker release blocker (used only by core team, only near release time) release-notes worth highlighting in next release notes labels Nov 18, 2020
… JDK 15

In JDK 15 CharSequence has an isEmpty method with a default
implementation, which clashes with our Array[Char]#isEmpty,
IndexedSeq[Char]#isEmpty, as well as our StringBuilder and reflect's
Name.

Backport of scala#9292 from 2.13.x to 2.12.x
@lrytz lrytz merged commit 44be245 into scala:2.12.x Nov 18, 2020
hamzaremmal pushed a commit to hamzaremmal/scala3 that referenced this pull request May 2, 2025
[backport] Make the CharSequence wrappers in Predef non-implicit, for JDK 15
hamzaremmal pushed a commit to scala/scala3 that referenced this pull request May 7, 2025
[backport] Make the CharSequence wrappers in Predef non-implicit, for JDK 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prio:blocker release blocker (used only by core team, only near release time) release-notes worth highlighting in next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants