groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marbon <>
Subject No signature of method
Date Fri, 15 Apr 2016 15:40:18 GMT

i have the following Java-Code that i want to convert to groovy:

My current version in groovy is this:

My problem is, that i get the following error, when i try to run the groovy

The Java-exec-Method has the signature:

I tried to cast "new ExecStartResultCallback(System.out, System.err)" to
"ResultCallback", but it did not work.

Is there any way to force Groovy to handle the instance as a
ResultCallback-Instance so that the correct method is called?


View this message in context:
Sent from the Groovy Users mailing list archive at

View raw message