summaryrefslogtreecommitdiff
path: root/bincompat-forward.whitelist.conf
diff options
context:
space:
mode:
authorDenton Cockburn <kanielc@gmail.com>2015-01-02 18:31:07 -0500
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-02-13 11:45:14 -0800
commit01fad26258d73c1901dedeaf50db02d1407acd65 (patch)
treed875b4f217189e6775095f0808796f74db1b175b /bincompat-forward.whitelist.conf
parent4554a10bcafce6fb14eb8b123bf76887bb6a8114 (diff)
downloadscala-01fad26258d73c1901dedeaf50db02d1407acd65.tar.gz
scala-01fad26258d73c1901dedeaf50db02d1407acd65.tar.bz2
scala-01fad26258d73c1901dedeaf50db02d1407acd65.zip
SI-9059 Random.alphanumeric is inefficient
Generate alphanumeric values by taking random element of string containing all alphanumerics. Instead of generating nextPrintableChar then filtering for alphanumerics, we can just take from a string containing all alphanumerics. This provides a significant performance improvement.
Diffstat (limited to 'bincompat-forward.whitelist.conf')
-rw-r--r--bincompat-forward.whitelist.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf
index 13e4f4ba85..3808083dd3 100644
--- a/bincompat-forward.whitelist.conf
+++ b/bincompat-forward.whitelist.conf
@@ -314,6 +314,11 @@ filter {
{
matchName="scala.reflect.runtime.Settings#IntSetting.valueSetByUser"
problemName=MissingMethodProblem
+ },
+ // SI-9059
+ {
+ matchName="scala.util.Random.scala$util$Random$$nextAlphaNum$1"
+ problemName=MissingMethodProblem
}
]
}