improve classloader hash string.

pull/882/head
hengyunabc 5 years ago
parent 799b2a617a
commit 0eff92a539

@ -49,7 +49,7 @@ public class ClassLoaderUtils {
if (hashCode <= 0) {
hashCode = System.identityHashCode(classLoader);
if (hashCode < 0) {
hashCode = -hashCode;
hashCode = hashCode & Integer.MAX_VALUE;
}
}
return Integer.toHexString(hashCode);

Loading…
Cancel
Save