HHH-7650 JandexHelper cannot handle Class default values
This commit is contained in:
parent
1e8e1718cb
commit
9914b17010
|
@ -363,11 +363,11 @@ public class JandexHelper {
|
|||
if ( val != null ) {
|
||||
// Annotation parameters of type Class are handled using Strings
|
||||
if ( val instanceof Class ) {
|
||||
val = ( ( Class ) val).getName();
|
||||
val = ( ( Class ) val ).getName();
|
||||
}
|
||||
}
|
||||
DEFAULT_VALUES_BY_ELEMENT.put( fqElement, val );
|
||||
return val == null ? null : val;
|
||||
return val;
|
||||
}
|
||||
catch ( RuntimeException error ) {
|
||||
throw error;
|
||||
|
|
Loading…
Reference in New Issue