langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/JavadocTool.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
200 // Enter symbols for all files |
200 // Enter symbols for all files |
201 toolEnv.notice("main.Building_tree"); |
201 toolEnv.notice("main.Building_tree"); |
202 javadocEnter.main(classTrees.toList().appendList(packageTrees)); |
202 javadocEnter.main(classTrees.toList().appendList(packageTrees)); |
203 etable.setClassDeclList(listClasses(classTrees.toList())); |
203 etable.setClassDeclList(listClasses(classTrees.toList())); |
204 |
204 |
205 enterDone = true; |
|
206 etable.analyze(); |
205 etable.analyze(); |
207 } catch (CompletionFailure cf) { |
206 } catch (CompletionFailure cf) { |
208 throw new ToolException(ABNORMAL, cf.getMessage(), cf); |
207 throw new ToolException(ABNORMAL, cf.getMessage(), cf); |
209 } catch (Abort abort) { |
208 } catch (Abort abort) { |
210 if (messager.hasErrors()) { |
209 if (messager.hasErrors()) { |