diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-08-23 14:23:48 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-08-23 17:10:56 +0200 |
commit | 5dbc37dfbe0e9a039da6744e45012abc3034cdf5 (patch) | |
tree | 7d74c9c383d79ae101a1a7ff1073602f96a33683 /bincompat-backward.whitelist.conf | |
parent | 7b351dca8458f599f5fafef4daa307351031ef06 (diff) | |
download | scala-5dbc37dfbe0e9a039da6744e45012abc3034cdf5.tar.gz scala-5dbc37dfbe0e9a039da6744e45012abc3034cdf5.tar.bz2 scala-5dbc37dfbe0e9a039da6744e45012abc3034cdf5.zip |
SI-7779 Account for class name compactification in reflection
We have to assume that the classes we are reflecting on were
compiled with the default value for -Xmax-classfile-name (255).
With this assumption, we can apply the same name compactification
as done in the regular compiler.
The REPL is particularly prone to generating long class names
with the '$iw' prefixes, so this is an important fix for runtime
reflection.
Also adds support for getting the runtime class of `O.type` if
`O` is a module.
Diffstat (limited to 'bincompat-backward.whitelist.conf')
-rw-r--r-- | bincompat-backward.whitelist.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bincompat-backward.whitelist.conf b/bincompat-backward.whitelist.conf index 08d972eee1..35b67a13ee 100644 --- a/bincompat-backward.whitelist.conf +++ b/bincompat-backward.whitelist.conf @@ -267,6 +267,10 @@ filter { { matchName="scala.reflect.internal.SymbolTable.scala$reflect$internal$Trees$$duplicator" problemName=IncompatibleResultTypeProblem + }, + { + matchName="scala.reflect.internal.StdNames.compactifyName" + problemName=MissingMethodProblem } ] } |