Merge pull request #1173 from axel22/issue/4996-cherry

Fixes SI-4996.
Improve test for Stream.withFilter.{map,flatMap}

Test a wider range of functionality.
Also check that Stream.toSeq gives the right result.
Merge pull request #1167 from Blaisorblade/topic/stream-const-space

Make Stream.withFilter.{map,flatMap} run in constant stack space
Ensure implicit conversions to concurrent map are unambiguous

Even after the parent change, implicit conversions should still convert
ConcurrentHashMap to concurrent.Map and not to mutable.ConcurrentMap.

I'll include the comment by axel22 which prompting this change (taken
from https://github.com/scala/scala/pull/1172#issuecomment-7928285)
since it is highly informative and links to pull request comments might
not be very stable:

<<
Instead of just testing an implicit conversion to ConcurrentMap, the
test should call ConcurrentMap methods such as putIfAbsent (which
returns an Option[T]) and replace, to see if the correct Scala
concurrent map trait is being resolved.
The problem is that putIfAbsent already exists on juc.ConcurrentMap so
instead of triggering an implicit conversion, a type mismatch error is
output anyway.
And we cannot test that the correct concurrent map trait is returned
using methods like map, flatMap and friends, because concurrent map
traits extends mutable.Map anyway.

For this reason, I recommend to add this to the test:

scala> val a = new java.util.concurrent.ConcurrentHashMap[String,
String]() += (("", ""))
a: scala.collection.concurrent.Map[String,String] = Map("" -> "")

and make sure that the returned map is concurrent.Map, not
mutable.ConcurrentMap (the above += is one of the few methods in
collection that has the return type this.type).
>>
Improved fix for SI-1987, overloading in package objects.

When reformulating an errant package object overload,
don't forget to fully qualify it lest you trade one error
for another.
Merge pull request #1183 from jsuereth/fix/try-catch-inversion

Fix stupid logic inversion of try-catch
Merge pull request #1172 from Blaisorblade/topic/deprecated-conversion

JavaConversions: Restore source compatibility with 2.9
Merge pull request #1177 from scalamacros/topic/abstypeof

exposes absTypeTag and absTypeOf
Merge pull request #1182 from paulp/issue/1987

Improved fix for SI-1987, overloading in package objects.
PartialFunction polishing

- ScalaDocs added
- TODOs fixed
- controversive method `run` deleted
- not used class runtime.AbstractTotalFunction removed
- small corrections & fixes
- tests for `orElse` & `runWith`
SI-6170 Revert #456 "Upgrade jQuery from 1.4.2 to 1.7.2"

This reverts commit b6c0e4478616a1252d65754a40c5dcbfc6554b36 because it caused SI-6170,
after this revert, the left "search" panel of scaladoc should be resizable again.
SI-4857 fixes showall/hideall Scaladoc interface bug
Eliminated a metric ton of allocations.

Thanks to the hotspot DTrace probes.  I'm not sure why
this checkfile changed, but hopefully it's innocuous.
Review by @VladUreche for the checkfile and @gkossakowski
so he can tell me how much faster.
pull request feedback

Added note about role of `fallback_pf` in the implementation
Merge pull request #1179 from scalamacros/topic/classtag-of-nothing

reverts changes to ClassTag.Nothing
Merge pull request #1170 from scalamacros/topic/overriden

exposes overridenSymbol/overridingSymbol in API
SI-6258 Reject partial funs with undefined param types

This regressed with virtpatmat.

With -Xoldpatmat, pattern matching anonymous functions with
an expected type of PartialFunction[A, B] are translated to
a Function tree, and typed by typedFunction, which issues an
error of the parameter types are not fully defined.

This commit adds the same check to MatchFunTyper.

It doesn't plug the hole in RefChecks#validateVariance (which is
reminiscent of SI-3577.) Seems to me that in general one should handle:
  a) both BoundedWildcardType and WildcardType
     when in a place that can be called during inference, or
  b) neither otherwise
Merge pull request #1178 from scalamacros/topic/weak-subtype

adds weak_<:< to the API
SI-3577 Make varianceInType aware of BoundedWildcardType.