Skip to content

Bumping up Scala version to 2.10.5/2.11.6. Fixes #1666, Ref #1980#2068

Merged
eed3si9n merged 3 commits into0.13from
wip/scalaversionbump
Jun 20, 2015
Merged

Bumping up Scala version to 2.10.5/2.11.6. Fixes #1666, Ref #1980#2068
eed3si9n merged 3 commits into0.13from
wip/scalaversionbump

Conversation

@eed3si9n
Copy link
Member

Fixes #1666, Subsumes #1980

To pass File => Unit callback across the classloader boundary
I am encoding it as a java.util.List[File] by overriding add(x: File) method.
This was needed since Java didn't allow me to cast from one classloader to the other.

/review @jsuereth, @dwijnand

To pass File => Unit callback across the classloader boundary
I am encoding it as a java.util.List[File] by overriding
 method.
This was needed since Java didn't allow me to cast
from one classloader to the other.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this break the ABI?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add shims around to keep bincompat, but this module should be used only by sbt itself, so I don't think it matters.

@jsuereth
Copy link
Member

The change looks good. Just want to make sure the up-scaled interface is ABI compatible. I think it is. In practice, given how scripted is used, I think it doesn't matter as well (scripted is usually versioned by the sbt version).

@eed3si9n
Copy link
Member Author

Yea. Note I didn't touch the scripted base or scripted plugin. (They may actually encounter similar issue as I have)

@eed3si9n eed3si9n changed the title Bumping up Scala version to 2.10.5/2.11.6. Fixes #1980 Bumping up Scala version to 2.10.5/2.11.6. Fixes #1666, Ref #1980 Jun 20, 2015
@dwijnand
Copy link
Member

LGTM.

Can the crazy use of java.util.List be removed post 0.13.9 when sbt's build moves to 0.13.9?

@eed3si9n
Copy link
Member Author

We need to add F1 in xsbti now if we want to remove java.util.List down the line.

eed3si9n added a commit that referenced this pull request Jun 20, 2015
Bumping up Scala version to 2.10.5/2.11.6. Fixes #1666, Ref #1980
@eed3si9n eed3si9n merged commit 2cb9694 into 0.13 Jun 20, 2015
@eed3si9n eed3si9n deleted the wip/scalaversionbump branch June 20, 2015 14:59
adriaanm added a commit to adriaanm/sbt that referenced this pull request Dec 21, 2015
adriaanm added a commit to adriaanm/sbt that referenced this pull request Dec 21, 2015
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.

3 participants