Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.6.1, 1.6.2, 1.6.3, 1.7-beta-1, 1.7-rc-1, 1.7.0, 3.0.0-alpha-1
-
None
-
None
Description
The following config causes the config slurper to create an object that subsequently causes a stackoverflow error.
I believe the root cause starts here.
http://github.com/russel/groovy/commit/05248f609f805d9a467a6fa6bd07dacaa71a71ef#L1R221
def cfg = """ smc{ pages{ smc { type="smcAdminPage" } } } """ ConfigObject c = new ConfigSlurper().parse(cfg) print c
Attachments
Issue Links
- relates to
-
GROOVY-3436 Consecutive configuration options are not merged correctly in ConfigSlurper
- Closed