diff -r 2422d4e027b0 -r 601277b1d582 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AbstractDoclet.java --- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AbstractDoclet.java Tue Apr 24 16:48:29 2018 -0700 +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/AbstractDoclet.java Tue Apr 24 11:54:03 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -81,7 +81,7 @@ /** * Verify that the only doclet that is using this toolkit is - * {@value #TOOLKIT_DOCLET_NAME}. + * #TOOLKIT_DOCLET_NAME. */ private boolean isValidDoclet() { if (!getClass().getName().equals(TOOLKIT_DOCLET_NAME)) { @@ -102,10 +102,7 @@ public boolean run(DocletEnvironment docEnv) { configuration = getConfiguration(); configuration.initConfiguration(docEnv); - configuration.cmtUtils = new CommentUtils(configuration); - configuration.utils = new Utils(configuration); utils = configuration.utils; - configuration.workArounds = new WorkArounds(configuration); messages = configuration.getMessages(); if (!isValidDoclet()) { @@ -189,7 +186,6 @@ * TreeWriter generation first to ensure the Class Hierarchy is built * first and then can be used in the later generation. * - * @see jdk.doclet.DocletEnvironment * @throws DocletException if there is a problem while generating the documentation */ private void startGeneration(DocletEnvironment docEnv) throws DocletException {