mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-06-30 23:04:52 +00:00
Merge branch 'GP-0_ryanmkurtz_PR-6657_0x-Singularity_jdk22-build'
This commit is contained in:
commit
b4ef357e53
|
@ -33,15 +33,17 @@ public class PrivatelyQueuedListener<P> {
|
|||
DataStructureErrorHandlerFactory.createListenerErrorHandler();
|
||||
|
||||
protected class ListenerHandler implements InvocationHandler {
|
||||
private static final Method OBJECT_HASHCODE;
|
||||
static {
|
||||
private static final Method OBJECT_HASHCODE = initObjectHashCode();
|
||||
|
||||
private static Method initObjectHashCode() {
|
||||
try {
|
||||
OBJECT_HASHCODE = Object.class.getMethod("hashCode");
|
||||
return Object.class.getMethod("hashCode");
|
||||
}
|
||||
catch (NoSuchMethodException | SecurityException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
|
||||
protected final Class<P> iface;
|
||||
|
||||
public ListenerHandler(Class<P> iface) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user