You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is still an issue with annotation on type parameters being ignored by scalac. An example use case is implementing a custom Hibernate Validator ValueExtractor, which requires it.
Caused by: javax.validation.valueextraction.ValueExtractorDefinitionException: HV000203: Value extractor type io.stellargraph.storage.web.config.SeqValueExtractor$ fails to declare the extracted type parameter using @ExtractedValue.
at org.hibernate.validator.internal.engine.valueextraction.ValueExtractorDescriptor.getExtractedTypeParameter(ValueExtractorDescriptor.java:95)
at org.hibernate.validator.internal.engine.valueextraction.ValueExtractorDescriptor.<init>(ValueExtractorDescriptor.java:49)
at org.hibernate.validator.internal.engine.ConfigurationImpl.addValueExtractor(ConfigurationImpl.java:219)
at org.hibernate.validator.internal.engine.ConfigurationImpl.addValueExtractor(ConfigurationImpl.java:68)
JSR 308 brought annotations on type parameters such as
After a quick byte-code analysis (
javap -v ... | grep Base64
) the following scala code does not seem to compile properly:This was asked on SO: http://stackoverflow.com/questions/38833827/how-to-annotate-a-type-parameter-in-scala
The text was updated successfully, but these errors were encountered: