8195986: Incorrect javac -h output with annotation processing and missing classes

When clearing out symbols for a new annotation processing round, preserve types when possible.

Reviewed-by: vromero
2 files changed