Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.4
-
Ubuntu, Groovy 3.0.4, Eclipse Groovy Plugin on Maven
Description
Groovy 3.0.4 is based on Java Minimum Version 1.8. So it should support Byte Code Level compatible with Java 8. And It should generate Annotations on Type Param in its Byte Code.
```
class Names
{ @NotEmpty List< @NotEmpty String> names; }Annotation @NotEmpty on Type Param String is not generated in Byte Code generated by Groovy 3.
So as a result Bean Validation Api 2.0 is not working with Groovy.
We have a similar issue in Kotlin also and as a result Bean Validation Api 2.0 was not working ith Kotlin as well.
Links to similar issue reported with Spring Team and Kotlin Team are:
https://github.com/spring-projects/spring-framework/issues/21462
https://youtrack.jetbrains.com/issue/KT-25158
```
Attachments
Issue Links
- depends upon
-
GROOVY-8225 Groovy support for JSR 308/JEP 104 (Annotations in more places)
- Closed