Why does a long cfc file work in CF8, but not CF9? Getting “Branch target offset too large for short” error

后端 未结 3 1602
日久生厌
日久生厌 2021-01-25 14:12

I have a fairly long cfc file, about 1800 lines long, that worked fine in ColdFusion 8, but after upgrading my development system to ColdFusion 9 and doing some testing I get a

3条回答
  •  情书的邮戳
    2021-01-25 14:29

    If you haven't already, try running the Code Analyzer in the CFAdmin page, "Debugging & Logging > Code Analyzer". This is a useful tool to find some changes which were made in the language between CF8 and CF9.

    We had to change several variable names and function names as CF added them in 9.

    Also check here:

    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7ff0.html

提交回复
热议问题