JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-442  -  Sections of the management guide use deprecated client APIs
Posted Mar 04, 2016 - updated Mar 21, 2019
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Documentation
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Not determined
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.1.x
Issue description
Some sections of the management guide have code examples that use deprecated API, like this one:
JPPFClient client = ...;
AbstractJPPFClientConnection conn = (AbstractJPPFClientConnection) client.getClientConnection();
JMXDriverConnectionWrapper driverJmx = conn.getJmxConnection();
Here, client.getClientConnection() has been deprecated for some time already.

Instead we should use soemthing like:
JMXDriverConnectionWrapper driverJmx = client.awaitWorkingConnectionPool().awaitWorkingJMXConnection();
Steps to reproduce this issue
N/A

#3
Comment posted by
 lolo4j
Mar 04, 21:33
Fixed in: and also in the online docs.