Skip to content

Commit 7e706e3

Browse files
committed
avoid deprecation warning
1 parent 3375e8e commit 7e706e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fnGen/WrapFnGen.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ object WrapFnGen {
143143

144144
private def buildWrappersViaReflection: Seq[SamConversionCode] = {
145145

146-
val pack: Symbol = rootMirror.getPackageIfDefined(TermName("java.util.function"))
146+
val pack: Symbol = rootMirror.getPackageIfDefined("java.util.function")
147147

148148
case class Jfn(iface: Symbol, sam: Symbol) {
149149
lazy val genericCount = iface.typeParams.length

0 commit comments

Comments
 (0)