Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.8
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
The JavaDocBuilder.createBinary method is used to create JavaClass instances of classes from the class path for which no source code is available. This method uses the Class.getMethods() and Class.getFields() methods to get the methods and fields of the class. These methods are specified to return only the public methods and fields of the class and its super classes.
Instead of using the getMethods() and getFields() methods the Class.getDeclaredMethods() and Class.getDeclaredFields() methods, resp. These methods return all methods and fields of the class itself excluding any super class.
The net benefit is we get all methods and fields and do not have to distinguish between the class's members and any inherited member.
Attached patch has been created against trunk from the toplevel directory. Permission is of course granted to use the patch.
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Paul Hammant [ paul ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Fix Version/s | 1.8 [ 14826 ] |
Fixed in another unknown change.