StackOverflowError when passing a function as an argument to a mocked method

Description

When I run the attached code on 2.1, I get a StackOverflowError in the exception log, and processing halts.

I suspect it's a ColdFusion bug manifesting itself (I will test this next and report back)

Attachments

2

Gliffy Diagrams

Activity

Show:

Adam Cameron July 19, 2013 at 7:53 AM

Seems good to me. Cheers Luis.

Luis Majano July 18, 2013 at 12:10 AM

This was extremely tricky, but I think I got it. Please test the commit please.

Luis Majano July 12, 2013 at 4:25 PM

Adam, let me first just say that I absolutely love your bug issues. You are so detailed and helpful. I wish everybody that reported issues to us would be as detail oriented and focused as you. Thanks, please note that I really appreciate the effort into discovering the issues and letting us know how to try and tackle them.

Adam Cameron July 12, 2013 at 3:40 PM

Confirmed: bug in CF 9.0.1 & 10.0.11. This code replicates it:

Fixed

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 12, 2013 at 3:29 PM
Updated October 5, 2015 at 7:04 PM
Resolved July 18, 2013 at 12:10 AM