Bootstrap classloader doesn't handle trailing slash in updates/ path in coldfusion.classPath| View in Tracker
Reporter/Name(from Bugbase): Bradley W. / ()
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / NA
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Platforms All
Vote Count: 2
If you start up a CF war and have a coldfusion.classPath system property defined that uses a trailing slash on the updates folder, ColdFusion will not load the hotfix jar prior to any update jars in the updates folder and any hotfixes may not work. This affects CommandBox, which sets an explicit coldfusion.classPath property ending with a slash.
Steps to Reproduce:
Start up an Adobe engine in CommandBox and add an update jar and hotfix jar into the updates folder. The order they are loaded in is not guaranteed based on the logic that is supposed to run in the bootstrap jar. There is special logic for loading jars from any path ending with "/updates" but this logic assumes there will be no trailing slash. Nimit helped me troubleshoot this and detect the bug.
Hotfix jar may be loaded in wrong order.
Hotfix jar should be loaded in correct order.