mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8025693: recent javadoc changes cause com/sun/javadoc/testLinkOption/TestLinkOption.java to fail
Reviewed-by: darcy
This commit is contained in:
parent
fc85ec65d8
commit
31b34ce39c
2 changed files with 95 additions and 2 deletions
|
@ -619,8 +619,10 @@ public class ClassDocImpl extends ProgramElementDocImpl implements ClassDoc {
|
|||
Names names = tsym.name.table.names;
|
||||
List<MethodDocImpl> methods = List.nil();
|
||||
for (Scope.Entry e = tsym.members().elems; e != null; e = e.sibling) {
|
||||
if (e.sym != null &&
|
||||
e.sym.kind == Kinds.MTH && e.sym.name != names.init) {
|
||||
if (e.sym != null
|
||||
&& e.sym.kind == Kinds.MTH
|
||||
&& e.sym.name != names.init
|
||||
&& e.sym.name != names.clinit) {
|
||||
MethodSymbol s = (MethodSymbol)e.sym;
|
||||
if (!filter || env.shouldDocument(s)) {
|
||||
methods = methods.prepend(env.getMethodDoc(s));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue