Update src/library/scala/sys/process/package.scala

Fix broken wildcard expansion in the `sys.process` docs.
SI-6370 changed ListMap apply0 method to produce correct error message when a key is not found
Current implementation of apply0 relies on tail method to iterate over all keys.
When the list gets to its end, tail produces an 'empty map' message in its exception, which is thrown by ListMap.
This change checks if the collection is empty before calling tail and provides a more appropriate key not found message.

Signed-off-by: Vinicius Miana <vinicius@miana.com.br>
SI-6935 Added readResolve in BoxedUnit
When deserializing Unit, it would return an instance of Object, but not a Scala Unit.
By adding readResolve, the deserialization of Unit will work.
SI-6225 Fix import of inherited package object implicits

The prefix in the ImplicitInfo must be com.acme.`package`.type,
rather than com.acme.
SI-6158 Restore compile error output under partest --show-log

Seems like the ifs and elses didn't quite survive e830a7ce9.

Before:

    ./test/partest --show-log test/files/run/foo.scala
    Testing individual files
    testing: [...]/files/run/foo.scala                                    [FAILED]

Now:

    ./test/partest --show-log test/files/run/foo.scala
    Testing individual files
    testing: [...]/files/run/foo.scala                                    [FAILED]
    foo.scala:1: error: expected class or object definition
    askdfjskl
    ^
    one error found
    1 of 1 tests failed (elapsed time: 00:00:01)
Tolerate symbol sharing between accessor/field.

Recently, TreeCheckers (-Ycheck) was extended to
report on references to symbols that were not in
scope, which is often a sign that some substitution
or ownership changes have been omitted.

But, accessor methods directly use the type of the
underlying field, without cloning symbols defined
in that type, such as quantified types in existentials,
at the new owner.

My attempt to change this broke pos/existentials.scala.

Instead, I'll just look the other way in TreeCheckers.
Application is deprecated. Replaced with App
SI-6514 Avoid spurious dead code warnings

`deadCode.expr` stores the method symbol most recently encountered
in `handleMonomorphicCall`, and uses this to avoid warnings
for arguments to label jumps and `Object#synchronized` (which
sneakily acts by-name without advertising the fact in its type.)

But this scheme was insufficient if the argument itself contains
another method call, such as `matchEnd(throw e(""))`.

This commit changes the single slot to a stack, and also
grants exemption to `LabelDef` trees. They were incorrectly
flagged in the enclosed test case after I made the the first change.
Merge pull request #2099 from retronym/ticket/6158

SI-6158 Restore compile error output under partest --show-log
silences t6323a

Tag materialization notices enabled with -Xlog-implicits are now echoes
not printlns. Therefore, they go into stderr, not stdout, getting logged
by partest and not spamming stdout of partest.
Merge pull request #2096 from ViniciusMiana/SI-6370

SI-6370 changed ListMap apply0 method to produce correct error message
Merge pull request #2097 from ViniciusMiana/SI-6935

SI-6935 Added readResolve in BoxedUnit
Merge pull request #2098 from retronym/ticket/6225

SI-6225 Fix import of inherited package object implicits
Merge pull request #2102 from retronym/topic/tree-checker-leniancy

Tolerate symbol sharing between accessor/field.
Merge pull request #2111 from retronym/2.10.x

SI-6514 Avoid spurious dead code warnings
Merge pull request #2107 from rnix/patch-1

Application is deprecated. Replaced with App
Merge pull request #2113 from scalamacros/topic/silence

silences t6323a
Maintenance of Predef.

1) Deprecates much of Predef and scala.Console, especially:

 - the read* methods (see below)
 - the set{Out,Err,In} methods (see SI-4793)

2) Removed long-deprecated:

 - Predef#exit
 - Predef#error should have gone, but could not due to sbt

At least the whole source base has now been future-proofed
against the eventual removal of Predef#error.

The low justification for the read* methods should be readily
apparent: they are little used and have no call to be in global
namespace, especially given their weird ad hoc semantics and
unreasonably tempting names such as readBoolean().

3) Segregated the deprecated elements in Predef from the part
which still thrives.

4) Converted all the standard Predef implicits into implicit
classes, value classes where possible:

  - ArrowAssoc, Ensuring, StringFormat, StringAdd, RichException (value)
  - SeqCharSequence, ArrayCharSequence (non-value)

Non-implicit deprecated stubs prop up the names of the
formerly converting methods.
SI-6355, weakend implementation restriction on applyDynamic.

I realized one can successfully call an overloaded applyDynamic,
under conditions such as these:

  def applyDynamic[T1](m: String)(x1: T1): Any = 1
  def applyDynamic[T1, T2](m: String)(x: T1, y: T2): Any = 2
  def applyDynamic[T1, T2, T3](m: String)(x: T1, y: T2, z: T3): Any = 3

So I weakened the overloading restriction to allow overloading
if each method has a distinct number of type parameters. This very
likely still allows the creation of uncallable overloads, but an
overly restrictive rule is worse. If the overload cannot be called,
it will still be discovered at the call site.
Merge pull request #1999 from paulp/pr/predef-maintenance

Predef maintenance