mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-06 14:10:36 +00:00
8076039: Remove the unused internal API sun.reflect.misc.FieldUtil.getDeclaredFields
Reviewed-by: mchung, hawtin
This commit is contained in:
parent
f0fb07515a
commit
3f410c76ca
@ -45,9 +45,4 @@ public final class FieldUtil {
|
||||
ReflectUtil.checkPackageAccess(cls);
|
||||
return cls.getFields();
|
||||
}
|
||||
|
||||
public static Field[] getDeclaredFields(Class<?> cls) {
|
||||
ReflectUtil.checkPackageAccess(cls);
|
||||
return cls.getDeclaredFields();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user