RFR: 6656: Allow capturing field values with path syntax
Marcus Hirt
hirt at openjdk.java.net
Thu Dec 19 12:05:39 UTC 2019
On Thu, 19 Dec 2019 11:59:09 GMT, Marcus Hirt <hirt at openjdk.org> wrote:
>> core/org.openjdk.jmc.agent/src/main/java/org/openjdk/jmc/agent/util/AccessUtils.java line 45:
>>
>>> 44:
>>> 45: public class AccessUtils {
>>> 46: public static Field getFieldOnHierarchy(Class<?> clazz, String name) throws NoSuchFieldException {
>>
>> Should probably be a final class. Class javadocs would be nice.
>
> Private constructor throwing unsupported exception might be nice so people don't even try instantiate it.
Javadocs for public methods would be nice.
-------------
PR: https://git.openjdk.java.net/jmc/pull/20
More information about the jmc-dev
mailing list