DERBY-6213: Deprecate support for Java 5 and CDC

Use Java 6 library methods to simplify logic in some cases.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1489348 13f79535-47bb-0310-9956-ffa450edef68