CONN-792: fix for method not available in java 5/6.
CONN-792: fix for method not available in java 5/6.
Merge branch 'CONN-792' of https://github.com/msweaver/CONNECT into CONN-792
Merge pull request #715 from msweaver/CONN-792

Conn 792