diff options
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/classpath/lib/java/lang/Class.class | bin | 15635 -> 15647 bytes | |||
-rw-r--r-- | libjava/java/lang/Class.java | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 22d1b502d51..c97a0a0bac4 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2007-08-15 Tom Tromey <tromey@redhat.com> + + * java/lang/Class.java (internalGetFields): Use LinkedHashSet. + * classpath/lib/java/lang/Class.class: Rebuilt. + 2007-08-15 Samuel Thibault <samuel.thibault@ens-lyon.org> * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove diff --git a/libjava/classpath/lib/java/lang/Class.class b/libjava/classpath/lib/java/lang/Class.class Binary files differindex 78741b27412..ffe072f5337 100644 --- a/libjava/classpath/lib/java/lang/Class.class +++ b/libjava/classpath/lib/java/lang/Class.class diff --git a/libjava/java/lang/Class.java b/libjava/java/lang/Class.java index 67805172aa0..691f983b0b5 100644 --- a/libjava/java/lang/Class.java +++ b/libjava/java/lang/Class.java @@ -56,7 +56,7 @@ import java.security.PrivilegedAction; import java.security.ProtectionDomain; import java.util.ArrayList; import java.util.Arrays; -import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.HashMap; import java.util.Collection; import java.lang.reflect.AnnotatedElement; @@ -473,7 +473,7 @@ public final class Class<T> */ private Field[] internalGetFields() { - HashSet set = new HashSet(); + LinkedHashSet set = new LinkedHashSet(); set.addAll(Arrays.asList(getDeclaredFields(true))); Class[] interfaces = getInterfaces(); for (int i = 0; i < interfaces.length; i++) |