Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/31/2012
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Windows 7
Vote Count: 1
Problem Description:
See http://stackoverflow.com/questions/11692302/how-do-i-know-if-this-variable-is-a-file-handle for discussion. Basically there's no way of identifying if a variable is a file handler.
Steps to Reproduce:
N/A
Actual Result:
N/A
Expected Result:
N/A
Any Workarounds:
Use variableName.getClass().getName(), and test it for "coldfusion.tagext.io.FileStreamWrapper". Not ideal.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3299625
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: