Shouldn't use scripting extensions to get class name
----------------------------------------------------

                 Key: THRIFT-733
                 URL: https://issues.apache.org/jira/browse/THRIFT-733
             Project: Thrift
          Issue Type: Bug
          Components: Library (Cocoa)
    Affects Versions: 0.3
         Environment: iPhoneOS
            Reporter: Aaron Haney
            Priority: Minor
         Attachments: classname.patch

For logging purposes, [THTTPClient flush] calls className on the response 
object returned by NSURLConnection in the event of it being an unexpected 
class. The className method comes from the Cocoa scripting extensions which are 
not available in the iPhoneOS environment. The solution is to use 
NSStringFromClass() instead. See attached patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to