QPID-5504 : another fix for generics, this time working differently between OpenJDK 1.6u27 and Oracle JDK 6u45

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567077 13f79535-47bb-0310-9956-ffa450edef68