Skip to content

Conversation

@szeiger
Copy link
Contributor

@szeiger szeiger commented Aug 29, 2016

  • Add the required override modifiers to trait methods that now
    extend default methods of Java interfaces.
  • Add casts in some of these methods because the Scala primitive types
    are not compatible at the type level with the (now inherited) Java
    boxed types.
  • Use the boxed JFunction types in BoxingTest because the generic ones
    do not exist anymore.
  • Tests in LambdaTest need to be commented out because usage from Java
    changed significantly after SD-121 Remove now-unneeded J{Function,Proc}N functional interfaces scala#5298
    but we can still cross-build the actual library against 2.11 and
    2.12.0-M5. At some point we should consider branching.

- Add the required `override` modifiers to trait methods that now
  extend default methods of Java interfaces.

- Add casts in some of these methods because the Scala primitive types
  are not compatible at the type level with the (now inherited) Java
  boxed types.

- Use the boxed JFunction types in BoxingTest because the generic ones
  do not exist anymore.

- Tests in LambdaTest need to be commented out because usage from Java
  changed significantly after scala/scala#5298
  but we can still cross-build the actual library against 2.11 and
  2.12.0-M5. At some point we should consider branching.
szeiger added a commit to szeiger/community-builds that referenced this pull request Aug 29, 2016
Switch to scala/scala-java8-compat#76 which
should work on 2.12.x now that scala/scala#5367
was also merged.
@adriaanm adriaanm mentioned this pull request Aug 30, 2016
2 tasks
@szeiger
Copy link
Contributor Author

szeiger commented Aug 30, 2016

Used in scala/community-build#262. Review by @SethTisue

@SethTisue SethTisue self-assigned this Aug 30, 2016
@SethTisue
Copy link
Member

code LGTM

"usage from Java changed significantly" — shouldn't that mean updates to README.md?

@szeiger
Copy link
Contributor Author

szeiger commented Aug 31, 2016

I'm working on restoring some of the old functionality. Hopefully the end result will only require minor changes compared to M5.

@szeiger szeiger merged commit e84ca18 into scala:master Aug 31, 2016
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.

2 participants