HHH-17895 add comment

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-03-27 11:01:48 +01:00
parent 3315135d90
commit ed9d7c60a6
1 changed files with 3 additions and 0 deletions

View File

@ -2483,6 +2483,9 @@ public class AnnotationMetaEntity extends AnnotationMeta {
.collect(toList());
}
/**
* Workaround for a bug in Java 20/21. Should not be necessary!
*/
private String typeAsString(TypeMirror type) {
String result = type.toString();
for ( AnnotationMirror annotation : type.getAnnotationMirrors() ) {