hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4738) [89-fb] HBaseAdmin has ambiguous varargs invocations
Date Wed, 24 Dec 2014 20:08:16 GMT

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

Andrew Purtell commented on HBASE-4738:
---------------------------------------

We can close this?
/cc [~eclark]

> [89-fb] HBaseAdmin has ambiguous varargs invocations
> ----------------------------------------------------
>
>                 Key: HBASE-4738
>                 URL: https://issues.apache.org/jira/browse/HBASE-4738
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>         Environment: JDK 1.6.0_26 on OSX
>            Reporter: Christopher Gist
>            Assignee: Christopher Gist
>            Priority: Minor
>         Attachments: ASF.LICENSE.NOT.GRANTED--D231.1.patch
>
>
> Ambiguous invocations of varargs methods with non-varargs arguments relied on the compiler
to implicitly cast the arguments to Object[]. Some compilers apparently do not make this implicit
cast, but instead wrap the arguments in another Object[] causing them to be interpreted incorrectly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message