public override void HandleClassPrepare(JvmEnvironment environment, JvmThreadReference thread, JvmClassReference @class) { if (!_subscribedEvents.Contains(JvmEventType.ThreadEnd)) { return; } try { DispatcherFrame frame = new DispatcherFrame(true); IAsyncResult result = _subscriber.BeginHandleClassPrepare(environment.VirtualMachine, thread, @class, environment.VirtualMachine.HandleAsyncOperationComplete, null); environment.VirtualMachine.PushDispatcherFrame(frame, environment, result); _subscriber.EndHandleClassPrepare(result); } catch (CommunicationException) { } }
public override void HandleClassFileLoadHook(JvmEnvironment environment, JvmClassReference classBeingRedefined, JvmObjectReference loader, string name, JvmObjectReference protectionDomain) { }