Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
0.9.21
-
None
Description
In case I have cycles in properties, I get an unfriendly StackOverflowError in OptionHelper. I am referring to properties like this:
a=${b} b=${a}
It would be nice to detect these cases and show a nice error message explaining the actual problem, instead of StackOverflowError.
For inspiration, you can take a look at Spring's PropertyPlaceholderConfigurer (the actual place where they detect this is org.springframework.util.PropertyPlaceholderHelper#parseStringValue in version 3.0.1.RELEASE).