mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02: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
1 changed files with 0 additions and 5 deletions
|
@ -45,9 +45,4 @@ public final class FieldUtil {
|
||||||
ReflectUtil.checkPackageAccess(cls);
|
ReflectUtil.checkPackageAccess(cls);
|
||||||
return cls.getFields();
|
return cls.getFields();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Field[] getDeclaredFields(Class<?> cls) {
|
|
||||||
ReflectUtil.checkPackageAccess(cls);
|
|
||||||
return cls.getDeclaredFields();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue