diff options
author | Tom Tromey <tromey@redhat.com> | 2007-02-01 21:36:01 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-02-01 21:36:01 +0000 |
commit | 4d2446d99e1b97108188fcc3de70eaffcc46bc9f (patch) | |
tree | 57fd94d4413c128908a347a3f33787de9c0a3880 /libjava/java/lang/reflect/Array.java | |
parent | 0a32f469ac256a842ac1f721c37dab7ad2cf5e21 (diff) | |
download | gcc-4d2446d99e1b97108188fcc3de70eaffcc46bc9f.zip gcc-4d2446d99e1b97108188fcc3de70eaffcc46bc9f.tar.gz gcc-4d2446d99e1b97108188fcc3de70eaffcc46bc9f.tar.bz2 |
LogManager.java (loggers): Genericized.
* java/util/logging/LogManager.java (loggers): Genericized.
(addLogger): Merged.
(findAncestor): Likewise.
(getLogger): Likewise.
(getLoggerNames): Genericized.
(reset): Merged.
(getLevelProperty): Likewise.
* java/lang/reflect/Method.java (getDeclaringClass): Genericized.
* java/lang/reflect/Constructor.java (getParameterTypes):
Genericized.
(getExceptionTypes): Likewise.
(newInstance): Likewise.
* java/lang/reflect/Array.java (newInstance): Genericized.
* java/lang/Object.java (getClass): Genericized.
* java/nio/charset/spi/CharsetProvider.java (charsets):
Genericized.
* java/text/Collator.java: Implement Comparable<Object>.
From-SVN: r121473
Diffstat (limited to 'libjava/java/lang/reflect/Array.java')
-rw-r--r-- | libjava/java/lang/reflect/Array.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/lang/reflect/Array.java b/libjava/java/lang/reflect/Array.java index 32bed06..639cc0e 100644 --- a/libjava/java/lang/reflect/Array.java +++ b/libjava/java/lang/reflect/Array.java @@ -1,5 +1,5 @@ /* java.lang.reflect.Array - manipulate arrays by reflection - Copyright (C) 1998, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2001, 2003, 2005, 2007 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -104,7 +104,7 @@ public final class Array * @throws NegativeArraySizeException when length is less than 0 * @throws OutOfMemoryError if memory allocation fails */ - public static native Object newInstance(Class componentType, int length); + public static native Object newInstance(Class<?> componentType, int length); /** * Creates a new multi-dimensioned array. The new array has the same @@ -130,7 +130,7 @@ public final class Array * than 0 * @throws OutOfMemoryError if memory allocation fails */ - public static native Object newInstance(Class elementType, int[] dimensions); + public static native Object newInstance(Class<?> elementType, int[] dimensions); /** * Gets the array length. |