Issue
The Java API equals method for the string literals was incorrectly overridden in ColdFusion, which caused incorrect comparisons for struct keys, cfswitch cases, and variable names. As a result, different string literals were associated with the same value. For example, GNQ and HO2 are two string literals. If GNQ is assigned a value of “aString”, then HO2 also has a value of “aString”.
Solution
Use the ColdFusion 9 Administrator to install all the hot fixes. The installation process is the same for all platforms and installation choices.
Follow the instructions below to apply the fix.
-
Download hf900-81860.zip and extract hf900-81860.jar.
-
Open the ColdFusion 9 Administrator and select the System Information page.
-
Click Browse next to the Update File box, and then browse to the extracted file hf900-81860.jar. Select the file, and then click Submit.
-
Restart the ColdFusion instance.
-
Repeat Steps 2 – 4 if there are multiple instances of ColdFusion.
You do not need to keep the ColdFusion hot fix JAR file after installing it with the ColdFusion Administrator. The file has been copied to the correct location.
The ColdFusion hot fix JAR file appears as a new entry in the System Information list.
ColdFusion hot fix jars are uninstalled by stopping the ColdFusion application server and deleting the respective jars from cf_root/lib/updates.
Additional information