harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r950187 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java
Date Tue, 01 Jun 2010 18:28:13 GMT
Author: hindessm
Date: Tue Jun  1 18:28:13 2010
New Revision: 950187

URL: http://svn.apache.org/viewvc?rev=950187&view=rev
Log:
Apply fix for "[#HARMONY-6533] [classlib] [luni] Proxy.getProxyClass's
interfaces paramter should be declared as varargs".  This changed from
java 1.4 to java 1.5.  I wonder if there are more of these that we have
missed.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java

Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java?rev=950187&r1=950186&r2=950187&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java
Tue Jun  1 18:28:13 2010
@@ -77,7 +77,7 @@ public class Proxy implements Serializab
      * @param loader
      *            the class loader that will define the proxy class
      * @param interfaces
-     *            an array of {@code Class} objects, each one identifying an
+     *            a list of {@code Class} objects, each one identifying an
      *            interface that will be implemented by the returned proxy
      *            class
      * @return a proxy class that implements all of the interfaces referred to
@@ -89,7 +89,7 @@ public class Proxy implements Serializab
      *                {@code null}
      */
     public static Class<?> getProxyClass(ClassLoader loader,
-            Class<?>[] interfaces) throws IllegalArgumentException {
+            Class<?>... interfaces) throws IllegalArgumentException {
         // check that interfaces are a valid array of visible interfaces
         if (interfaces == null) {
             throw new NullPointerException();



Mime
View raw message