accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1993) proxy classes conflict with Ruby system classes
Date Mon, 09 Dec 2013 19:22:07 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843434#comment-13843434
] 

Josh Elser commented on ACCUMULO-1993:
--------------------------------------

For the Ruby proxy api? Absolutely -- like Brian said, the names are no longer the same :P

Another reason for getting this into 1.6. Although, I don't really care about changing this
mid-stream for 1.4 and 1.5 because conflicting with Ruby system classes is pretty bad. You
might be able to get around it with some bonkers monkeypatching or similar, but that's just
silly IMO.

> proxy classes conflict with Ruby system classes
> -----------------------------------------------
>
>                 Key: ACCUMULO-1993
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1993
>             Project: Accumulo
>          Issue Type: Bug
>          Components: proxy
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Brian Loss
>
> The proxy declares the Range class, however this class also exists as a Ruby system class,
which causes problems when attempting to construct ranges.  Really, all the generated classes
for Ruby should be placed in an Accumulo namespace.  Add the appropriate declaration, such
as
> {code}
> namespace rb Accumulo
> {code}
> to the proxy thrift IDL.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message