cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7781) UDF class methods are not verified to be static
Date Fri, 15 Aug 2014 19:57:18 GMT

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

Tyler Hobbs updated CASSANDRA-7781:
-----------------------------------

    Attachment: 7781.txt

7781.txt checks that the method is static.  There's already a (failing) unit test to cover
this.

> UDF class methods are not verified to be static
> -----------------------------------------------
>
>                 Key: CASSANDRA-7781
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7781
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: 7781.txt
>
>
> I added a test for this in CASSANDRA-7395, but apparently forgot that it was broken when
I committed the patch..
> We just need to check:
> {code}
> Modifiers.isStatic(method.getModifiers())
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message