Class.java (internalGetFields): Use LinkedHashSet.
* java/lang/Class.java (internalGetFields): Use LinkedHashSet. * classpath/lib/java/lang/Class.class: Rebuilt. From-SVN: r127518
This commit is contained in:
parent
c675e8ad36
commit
b413c535af
@ -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
|
||||
|
Binary file not shown.
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user