diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-06-06 14:24:38 +1000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-06-28 09:18:34 -0700 |
commit | 91b066aac5edf53ca18603f8486eb255514b3118 (patch) | |
tree | f080d3593134e1bb48841d953259f3bd7e3b94e1 /src/compiler/scala/tools/nsc/backend/jvm | |
parent | d3c0885a1a88e9d52902a527650319010d7ced67 (diff) | |
download | scala-91b066aac5edf53ca18603f8486eb255514b3118.tar.gz scala-91b066aac5edf53ca18603f8486eb255514b3118.tar.bz2 scala-91b066aac5edf53ca18603f8486eb255514b3118.zip |
Revert pruning of redundant Java parents
This partially reverts the fix for SI-5278 made in 7a99c03da.
The original motivation for this case to avoid bytecode that
stretched platform limitations in Android.
For super calls to Scala defined trait methods, we won't
use `invokespecial`, but rather use `invokestatic` to a
static trait implementation method. As such, we can continue
to prune redundant Scala interfaces.
It might be worth considering removing the pruning of
redundant parents altoghether, though:
- We no longer include `ScalaObject` as a parent of every class,
which was mentioned as a problem in SI-5728.
- Scala 2.12 has left Android behind for the time being
due to use of Java 8 facilities.
- javac doesn't do this, so why should we?
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/jvm')
0 files changed, 0 insertions, 0 deletions