|
Quick Lists
|
|
Bug ID:
|
4531429
|
|
Votes
|
0
|
|
Synopsis
|
-excludeclasses does not omit links to excluded classes
|
|
Category
|
customdoclets:mifdoclet
|
|
Reported Against
|
1.2beta1
|
|
Release Fixed
|
1.2beta2
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4525499
,
4636759
|
|
Submit Date
|
26-NOV-2001
|
|
Description
|
When using -excludeclasses, there are mistakenly links to the excluded classes.
These classes that are linked to should appear as plain text rather than hypertext links.
xxxxx@xxxxx 2001-11-26
|
|
Work Around
|
N/A
|
|
Evaluation
|
Gary Adams has submitted the following fix for this bug:
Here's a fix for the excluded classes member fields. Basically I extended the check to include the parent of the qualified "className" (which is actually a field reference in this case).
e.g. -excludeclasses javax.micoedition.io.HttpConnection
should also leave plain labels for
javax.micoedition.io.HttpConnection.HEAD
--- MIFConfiguration.java Fri Nov 9 14:47:17 2001
***************
*** 2122,2128 ****
//In this case, just document everything
return false;
} else {
! return explicitelyExcludedClassesHash.get(className) != null;
}
}
--- 2122,2137 ----
//In this case, just document everything
return false;
} else {
! // Exclude references to members of excluded classes, too
! // e.g. For className might be a member name and need to be trimmed
! // for the excluded call check.
! int i = className.lastIndexOf('.');
! String parentName="";
! if (i != -1) {
! parentName = className.substring(0,i);
! }
! return explicitelyExcludedClassesHash.get(className) != null
! || explicitelyExcludedClassesHash.get(parentName) != null;
}
}
Gary Adams - SMI Software Development < xxxxx@xxxxx >
Fri, 9 Nov 2001
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |