Deprecation should skip thrift library code when printing the caller
--------------------------------------------------------------------
Key: THRIFT-56
URL: https://issues.apache.org/jira/browse/THRIFT-56
Project: Thrift
Issue Type: Bug
Components: Library (Ruby)
Reporter: Kevin Ballard
Attachments: deprecation.patch
When displaying the caller of a deprecated class/module, any thrift library
code should be skipped. This really only affects ThriftStruct#initialize (as it
called each_field, which would trigger the deprecation).
The given patch is actually 2 patches (suitable for use with git-am), one for
this specific issue, the other fixes the specs to handle deprecation warnings a
bit better. I bundled the second with this because the issue with the specs
only shows up once the first patch is added.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.