Modified for making Download Manager working again for client running JAVA 7 U45.

Signed-off-by: unknown <panq@NCI-01874582.nci.nih.gov>