From 1d28fe6c808fb9b257a2a3b24abb911bf7697d2b Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 9 Aug 2013 14:24:48 +0200 Subject: [nomaster] SI-7733 reflective packages now more consistent with scalac Previously PackageScopes from scala.reflect ignored all classes that had $'s in non-rightmost positions in their names. Unfortunately this behaviour is inconsistent with how scalac does things, and I reconciled this as usual, by pulling corresponding logic into scala-reflect.jar and sharing it between runtime reflection and compiler. This change has seprate pull requests for 2.10.x and 2.11.0. The latter deprecates `scala.tools.nsc.util.ClassPath.isTraitImplementation` whereas the former (which you're looking at right now) does not, because we can't deprecated members in minor releases. --- bincompat-forward.whitelist.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'bincompat-forward.whitelist.conf') diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf index b3af372b15..c6b7b38e8d 100644 --- a/bincompat-forward.whitelist.conf +++ b/bincompat-forward.whitelist.conf @@ -515,6 +515,22 @@ filter { { matchName="scala.reflect.runtime.JavaMirrors#JavaMirror#FromJavaClassCompleter.scala$reflect$runtime$JavaMirrors$JavaMirror$FromJavaClassCompleter$$enterEmptyCtorIfNecessary$1" problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.runtime.ReflectionUtils.scalacShouldntLoadClass" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.runtime.ReflectionUtils.scalacShouldntLoadClassfile" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.runtime.ReflectionUtils.isTraitImplementation" + problemName=MissingMethodProblem + }, + { + matchName="scala.reflect.runtime.SymbolLoaders.isInvalidClassName" + problemName=MissingMethodProblem } ] } -- cgit v1.2.3