-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
hopper
-
x86
-
windows_2000
-
Verified
Bug is related to JDK 1.4.0, build 1.4.0-b92
Steps to reproduce:
Compile and run TestCase class included in attachments (the class imports classes in jmi.jar - included in attachments too).
TestCase calls getMethods on javax.jmi.model.Attribute.class, prints the number of returned Methods and scans how many instances of Method representing getContainer method are in the result.
JDK 1.3.1: getMethods returns 43 Methods
JDK 1.4.0: getMethods returns 74 Methods (due to duplicates, e.g. the same instance of Method representing getContainer method is returned two times)
Source files of all related classes and interfaces are included in jmi.jar
Steps to reproduce:
Compile and run TestCase class included in attachments (the class imports classes in jmi.jar - included in attachments too).
TestCase calls getMethods on javax.jmi.model.Attribute.class, prints the number of returned Methods and scans how many instances of Method representing getContainer method are in the result.
JDK 1.3.1: getMethods returns 43 Methods
JDK 1.4.0: getMethods returns 74 Methods (due to duplicates, e.g. the same instance of Method representing getContainer method is returned two times)
Source files of all related classes and interfaces are included in jmi.jar