Skip to content

Regression: 0.7.8 verification failing on method declared in suspendable-supers #279

@victornoel

Description

@victornoel

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions