You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/06/01 20:28:13 UTC
svn commit: r950187 -
/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/lang/reflect/Proxy.java
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();