harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6533) [classlib] [luni] Proxy.getProxyClass's interfaces paramter should be declared as varargs
Date Tue, 01 Jun 2010 18:31:38 GMT

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

Mark Hindess resolved HARMONY-6533.
-----------------------------------

    Fix Version/s: 6.0M3
                   5.0M15
       Resolution: Fixed

Thanks for the bug report.

Fixed in r950187.  I will merge it to the java6 branch in the next day or two.  Then it will
be available in the stable builds on Hudson at:

  http://hudson.zones.apache.org/hudson/view/Harmony/job/Harmony-1.6-head-linux-x86_64/

Please confirm it has been fixed by closing this JIRA issue.  Thanks.


> [classlib] [luni] Proxy.getProxyClass's interfaces paramter should be declared as varargs
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6533
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6533
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 6.0M1
>            Reporter: Andreas Sewe
>            Assignee: Mark Hindess
>            Priority: Minor
>             Fix For: 6.0M3, 5.0M15
>
>
> Currently, java.lang.reflect.Proxy.getProxyClass accepts an array of Class<?> as
its second argument: interfaces. According to the Java SE 6 API, however, interfaces should
be a varargs parameter. This might not matter in a lot of cases, but it confuses the Scala
compiler (scalac) big-time, making it impossible to compile the Scala library against the
Apache Harmony classlib (note the array of arrays scalac mistakenly requires):
>  found   : Array[java.lang.Class[_]]
>  required: Array[_ <: Array[java.lang.Class[_]]]
>       java.lang.reflect.Proxy.getProxyClass(cl, ifaces: _*)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message