scala/scala — pull request #1323 by namin (2012-09-17 10:41:49+00:00)
Title: Fix for SI-6245 with workaround for SI-2296.

protected/super accessor issue: Don't subvert the creation of the
standard protected accessor with the java interop accessor. For
SI-2296, the compiler emits an error instead of causing an illegal
access error at runtime.

Adapted from e498fac7fdbda3187a2a4fffcdf7fa4f9ddb7ac8.

Conflicts:

src/compiler/scala/tools/nsc/typechecker/SuperAccessors.scala

Review by @jsuereth.