Yuneng Xie

Results 2 issues of Yuneng Xie

if (nullTransient && Modifier.isTransient(field.getModifiers())) { final Class type = field.getType(); if (!type.isPrimitive()) { field.set(newInstance, null); } } IllegalArgumentException arise at "field.set(newInstance, null)" because field and newInstance come form different classloader.

PR for https://github.com/prometheus/prometheus/issues/12062 @roidelapluie plz help me on this.