8057794: Compiler Error when obtaining .class propertySummary: Ensuring a non-null type and sym for illegal T.class to prevent downstream errors.Reviewed-by: mcimadamore