On Tue, Nov 4, 2008 at 3:18 PM, Oberhuber, Martin
<[EMAIL PROTECTED]> wrote:

> the method signature from your backtrace indicates a void
> return value -- I)V -- but according to the Sources
> that I see, the method in JSch in Eclipse 3.4 has an
> int return value. In other words, it appears to be
> source compatible but not binary compatible.
>
> As a workaround, you might want to try using Java
> Reflection...
>
>  Class cSession = mySession.getClass();
>  Method mSetPortForwarding = cSession.getMethod(...);
>  mSetPortForwarding.invoke...

Ahh thanks.  Maybe I can find a method that existed on 3.3 and 3.4
that can be used.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to