Skip to content

Instantly share code, notes, and snippets.

@sukyology

sukyology/block7.java Secret

Created Jan 17, 2021
Embed
What would you like to do?
public class Object {
@HotSpotIntrinsicCandidate
public Object() {
}
static {
Object.registerNatives();
}
public String toString() {
// 생략
`JvmMockKDispatcher` dispatcher = `JvmMockKDispatcher`.get((long)-8685426189273937011L, (Object)this));
Callable<?> callable;
if (dispatcher == null) {
callable = null;
} else {
callable = dispatcher.handler((Object)this, Object.class.getMethod("toString", new Class[0]), new Object[0]);
}
if (callable != null) {
return (String)callable.call();
} else {
return this.getClass().getName() + "@" + Integer.toHexString(this.hashCode());
}
}
// 이하 생략
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment