--- old/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java 2020-01-17 17:34:42.745120826 -0800 +++ new/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java 2020-01-17 17:34:42.425106793 -0800 @@ -73,6 +73,7 @@ public abstract class AbstractMemberWriter implements MemberSummaryWriter { protected final HtmlConfiguration configuration; + protected final HtmlOptions options; protected final Utils utils; protected final SubWriterHolderWriter writer; protected final Contents contents; @@ -86,8 +87,9 @@ public AbstractMemberWriter(SubWriterHolderWriter writer, TypeElement typeElement) { this.configuration = writer.configuration; + this.options = configuration.getOptions(); this.writer = writer; - this.nodepr = configuration.nodeprecated; + this.nodepr = options.noDeprecated; this.typeElement = typeElement; this.utils = configuration.utils; this.contents = configuration.contents; @@ -380,7 +382,7 @@ } protected void serialWarning(Element e, String key, String a1, String a2) { - if (configuration.serialwarn) { + if (configuration.getOptions().serialWarn) { configuration.messages.warning(e, key, a1, a2); } } @@ -598,7 +600,7 @@ // Name HtmlTree nameSpan = new HtmlTree(HtmlTag.SPAN); nameSpan.setStyle(HtmlStyle.memberName); - if (configuration.linksource) { + if (configuration.getOptions().linkSource) { Content name = new StringContent(name(element)); writer.addSrcLink(element, name, nameSpan); } else {