--- old/test/langtools/tools/jdeps/jdkinternals/src/p/Main.java 2017-12-22 10:12:49.197523136 +0000 +++ new/test/langtools/tools/jdeps/jdkinternals/src/p/Main.java 2017-12-22 10:12:49.001527412 +0000 @@ -27,10 +27,14 @@ import sun.misc.Service; import sun.misc.SoftCache; import sun.reflect.Reflection; +import sun.reflect.ReflectionFactory; public class Main { public static void main() { // in jdk.unsupported + ReflectionFactory factory = ReflectionFactory.getReflectionFactory(); + + // removed from jdk.unsupported in JDK 11 Class caller = Reflection.getCallerClass(2); // removed