- Notifications
You must be signed in to change notification settings - Fork 568
Open
Labels
Description
Hi,
It worked well before, but since 0.7.8, with the following code:
private <R, T extends CockpitRequest<R>> void answer(T r, CheckedFunction1<T, R> f) throws SuspendExecution { try { RequestReplyHelper.reply(r, f.apply(r)); } catch (Throwable e) { RequestReplyHelper.replyError(r, e); } } And the following in my META-INF/suspendable-supers:
javaslang.CheckedFunction1.apply I get this instrumentation error:
! at org.ow2.petals.cockpit.server.actors.WorkspaceActor.answer(org.ow2.petals.cockpit.server.actors.CockpitActors$CockpitRequest,javaslang.CheckedFunction1) (WorkspaceActor.java:209) !! (instrumented suspendable calls at: lines [209, 209, 211], calls [co.paralleluniverse.actors.behaviors.RequestReplyHelper.reply(co.paralleluniverse.actors.behaviors.RequestMessage, java.lang.Object), co.paralleluniverse.actors.behaviors.RequestReplyHelper.replyError(co.paralleluniverse.actors.behaviors.RequestMessage, java.lang.Throwable), javaslang.CheckedFunction1.apply(java.lang.Object)]) I'm not sure if it is the same as #275...
Reactions are currently unavailable