8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields
authorsadayapalam
Thu, 26 Mar 2015 11:59:41 +0530
changeset 29717 d28bd0a6c57f
parent 29716 838a9156720c
child 29718 d0e9a4ece867
8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields Reviewed-by: mchung, hawtin
jdk/src/java.base/share/classes/sun/reflect/misc/FieldUtil.java
--- 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();
-    }
 }