bz-66552 fix Depend task does not handle Dynamic constant pool entries - java.lang.ClassFormatError: Invalid Constant Pool entry Type 17
 In cases the Depend task scans a class file with Constant Pool entry Type 17 there was no handling, just fireing an Exception.
 Constant is defined since JDK11, and format is same as InvokeDynamic Type 18.
 Provide Identical handling.

This closes #204 pull request at github.com/apache/ant
5 files changed