Fixed
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Brad Wood
Brad WoodPriority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 1 March 2022 at 18:00
Updated 17 May 2023 at 12:51
Resolved 28 March 2022 at 08:31
This returns true
isObject( javacast('null','') )
Curiously enough, so does Adobe CF. However, I really do think it's an oversight as I can't think of a good reason right off why null should be considered an object. Especially since all of these return false!
isXML( javacast('null','') ) isArray( javacast('null','') ) isStruct( javacast('null','') ) isBoolean( javacast('null','') ) isSimpleValue( javacast('null','') )
https://trycf.com/gist/a0595c05f8f6de44053224fe527dc052/lucee5?theme=monokai
Related Adobe ColdFusion ticket: https://tracker.adobe.com/#/view/CF-4212825