hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4738) [89-fb] HBaseAdmin has ambiguous varargs invocations
Date Thu, 03 Nov 2011 22:31:34 GMT

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

Phabricator commented on HBASE-4738:
------------------------------------

Karthik has added CCs to the revision "HBASE-4738 [jira] [89-fb] HBaseAdmin has ambiguous
varargs invocations".
Added CCs: stack

  Reviewed internally also.

REVISION DETAIL
  https://reviews.facebook.net/D231

                
> [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
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message