RFR: 6996: Properly support converters
Marcus Hirt
hirt at openjdk.java.net
Fri Nov 27 09:16:57 UTC 2020
On Thu, 26 Nov 2020 20:41:01 GMT, Gunnar Morling <github.com+28612+gunnarmorling at openjdk.org> wrote:
>> Including simple test to verify that the resulting instrumented methods are ok.
>
> agent/src/main/java/org/openjdk/jmc/agent/impl/ResolvedConvertable.java line 10:
>
>> 8: public class ResolvedConvertable extends AbstractConvertable implements Convertable {
>> 9: private final static String CONVERTER_METHOD = "convert";
>> 10: private final transient Class<?> converterClass;
>
> When is this ResolvedConvertable serialized, i.e. why is this transient?
Ah, was from an earlier version of the code where I let the attributes be able to resolve themselves. Removed.
-------------
PR: https://git.openjdk.java.net/jmc/pull/168
More information about the jmc-dev
mailing list