I would say we need to do the meta-data look-up using the original method, i.e. the one prior to replacing it with the super-type method. It's all a bit convoluted...
Right, that's what I thought and did initially. This "fixes" the lookup in ValidationExtension, but then things fall apart a bit later in the ValidationInterceptor:
And that's where things get even more convoluted. The metadata has an element for genericArg(java.lang.Object), but not for genericArg(java.lang.String). Not sure yet what's happening here.
|