Skip to content
misterdai edited this page Mar 15, 2012 · 2 revisions

Welcome to the cfbackport wiki!

Issues facing backporting

ColdFusion 10

Closures

This is a language feature that is probably too low level to implement. Functions that rely on closures will not be possible or limited to only accepting named functions.

Passed by reference

Another troublesome feature to replicate. Take ArrayEach as an example, where an array is passed by reference so the callback function can alter it. It doesn't appear possible to declare a function where an argument is forced as a reference instead of value. Using a java.lang.List instead of a native ColdFusion array, does allow arrays to be passed by reference but this would require arrays to be converted before the function call. There is no way to define a function argument as a java.lang.List type.

Clone this wiki locally