[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: java.lang.Class patches
From: |
Jeroen Frijters |
Subject: |
RE: java.lang.Class patches |
Date: |
Mon, 7 Apr 2003 12:09:30 +0200 |
Hi,
More fixes to java.lang.Class.
Change Log:
* java/lang/Class.java
(getSigners): If signers array is null, don't attempt to clone it
(internalGetFields): Implemented algorithm dictated by API docs and used
HashSet to prevent the same field showing up twice (if an interface is
implemented multiple times)
(getMethods): Changed comments to indicate that Object methods are
available from array types. This is in contrast with the API docs, but
it matches common sense and the Sun implementation.
(internalGetMethods): For consistency, changed to use HashMap instead of
java.util.HashMap.
(getField): Now uses internalGetField.
(internalGetField): New method to implement correct search algorithm.
(getMethod): Changed comments to indicate that Object methods are
available from array types. Changed to use internalGetMethod.
(internalGetMethod): New method to implement correct search algorithm.
(matchParameters): Don't use equals() to compare Class objects, they
have to be identical so == can be used.
Regards,
Jeroen
class.patch
Description: class.patch
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/03
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/04
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/05
RE: java.lang.Class patches,
Jeroen Frijters <=
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/09
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/11
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/11
RE: java.lang.Class patches, Jeroen Frijters, 2003/04/11