8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields
Reviewed-by: mchung, hawtin
--- a/jdk/src/java.base/share/classes/sun/reflect/misc/FieldUtil.java Thu Mar 26 16:17:33 2015 +0100
+++ b/jdk/src/java.base/share/classes/sun/reflect/misc/FieldUtil.java Thu Mar 26 11:59:41 2015 +0530
@@ -45,9 +45,4 @@
ReflectUtil.checkPackageAccess(cls);
return cls.getFields();
}
-
- public static Field[] getDeclaredFields(Class<?> cls) {
- ReflectUtil.checkPackageAccess(cls);
- return cls.getDeclaredFields();
- }
}