You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aaron Haney (JIRA)" <ji...@apache.org> on 2010/03/16 00:14:27 UTC

[jira] Updated: (THRIFT-733) Shouldn't use scripting extensions to get class name

     [ https://issues.apache.org/jira/browse/THRIFT-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Haney updated THRIFT-733:
-------------------------------

    Attachment: classname.patch

> 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.