summaryrefslogtreecommitdiff
path: root/bincompat-forward.whitelist.conf
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-09-09 10:06:00 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-09-10 01:34:00 +0200
commitbf0f9da50983941b8575ffae284d9c90de886020 (patch)
treeb7464c8f529f0be94600a0b72c824607301cfb33 /bincompat-forward.whitelist.conf
parent7fa0e60c47a05f335ab890ef182769699263b3ce (diff)
downloadscala-bf0f9da50983941b8575ffae284d9c90de886020.tar.gz
scala-bf0f9da50983941b8575ffae284d9c90de886020.tar.bz2
scala-bf0f9da50983941b8575ffae284d9c90de886020.zip
SI-7825 Consider DEFAULTMETHOD when refchecking concreteness
A class should not be required to implement a Java default method. This commit uses `isDeferredNotDefault` in place of `isDeferred` when finding unimplemented methods. The test itself does not depend on Java 8 as we use scalac's Java source parser to set things up.
Diffstat (limited to 'bincompat-forward.whitelist.conf')
-rw-r--r--bincompat-forward.whitelist.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf
index a64eb0ba5d..2ece671638 100644
--- a/bincompat-forward.whitelist.conf
+++ b/bincompat-forward.whitelist.conf
@@ -1407,6 +1407,30 @@ filter {
{
matchName="scala.reflect.internal.Types.scala$reflect$internal$Types$$uniques_="
problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.Symbols#Symbol.isDeferredOrDefault"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.Symbols#Symbol.isDeferredNotDefault"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.HasFlags.isDeferredOrDefault"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.HasFlags.isDeferredNotDefault"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.Trees#Modifiers.isDeferredOrDefault"
+ problemName=MissingMethodProblem
+ },
+ {
+ matchName="scala.reflect.internal.Trees#Modifiers.isDeferredNotDefault"
+ problemName=MissingMethodProblem
}
]
}