AnsweredAssumed Answered

JingleManager.createOutgoingJingleSession uses negated condition

Question asked by Martin on Mar 4, 2015
Latest reply on Oct 9, 2015 by Vijay

Hi all,

 

I know, it is old and unmaintained, but in the current version of JingleManager.createOutgoingJingleSession a new bug was introduced, which could perhaps be removed again

 

public JingleSession createOutgoingJingleSession(String responder) throws XMPPException {
     if (XmppStringUtils.isFullJID(responder)) {
         throw new IllegalArgumentException("The provided user id was not fully qualified");
     }

 

The condition must be negated: The exception shall be thrown if responder is NOT a full JID.

Outcomes