diff --git a/jdk/src/share/classes/java/lang/ClassLoader.java b/jdk/src/share/classes/java/lang/ClassLoader.java
index 9aeb53e324e..4fde2ba53a8 100644
--- a/jdk/src/share/classes/java/lang/ClassLoader.java
+++ b/jdk/src/share/classes/java/lang/ClassLoader.java
@@ -48,7 +48,7 @@
import java.security.cert.Certificate;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
-
+import java.util.function.Function;
/**
* A class loader is an object that is responsible for loading classes. The
* class ClassLoader is an abstract class. Given the new_pkg) != new_pkg) {
+
+ Function getNewPkg = new Function