allow compound paths in JD @By annotation

This commit is contained in:
Gavin King 2024-03-06 07:54:34 +01:00
parent ebd72f8470
commit f591ce1b36
1 changed files with 1 additions and 1 deletions

View File

@ -1949,7 +1949,7 @@ public class AnnotationMetaEntity extends AnnotationMeta {
if ( name.contains("<error>") ) {
throw new ProcessLaterException();
}
return name;
return name.replace('.', '$'); // since the rest of the code assumes $ as the path separator
}
else if ( param != null ) {
final String name = (String) castNonNull(getAnnotationValue(param, "value"));