--- old/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/SerializedFormBuilder.java 2020-01-21 10:51:20.145037852 -0800 +++ new/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/SerializedFormBuilder.java 2020-01-21 10:51:19.825023713 -0800 @@ -324,7 +324,7 @@ * @throws DocletException if there is a problem while building the documentation */ protected void buildMethodInfo(Content methodsContentTree) throws DocletException { - if (configuration.nocomment) { + if (options.noComment) { return; } @@ -351,7 +351,7 @@ ExecutableElement method = (ExecutableElement)currentMember; if (method.getSimpleName().toString().compareTo("writeExternal") == 0 && utils.getSerialDataTrees(method).isEmpty()) { - if (configuration.serialwarn) { + if (options.serialWarn) { TypeElement encl = (TypeElement) method.getEnclosingElement(); messages.warning(currentMember, "doclet.MissingSerialDataTag", encl.getQualifiedName().toString(), @@ -386,7 +386,7 @@ Content serializableFieldsTree = fieldWriter.getSerializableFieldsHeader(); Content fieldsOverviewContentTree = fieldWriter.getFieldsContentHeader(true); fieldWriter.addMemberDeprecatedInfo(ve, fieldsOverviewContentTree); - if (!configuration.nocomment) { + if (!options.noComment) { fieldWriter.addMemberDescription(ve, fieldsOverviewContentTree); fieldWriter.addMemberTags(ve, fieldsOverviewContentTree); } @@ -462,7 +462,7 @@ * @param serializableFieldsTree content tree to which the documentation will be added */ protected void buildSerialFieldTagsInfo(Content serializableFieldsTree) { - if (configuration.nocomment) { + if (options.noComment) { return; } VariableElement field = (VariableElement)currentMember; @@ -509,14 +509,14 @@ * @param fieldsContentTree content tree to which the documentation will be added */ protected void buildFieldInfo(Content fieldsContentTree) { - if (configuration.nocomment) { + if (options.noComment) { return; } VariableElement field = (VariableElement)currentMember; TypeElement te = utils.getEnclosingTypeElement(currentMember); // Process default Serializable field. if ((utils.getSerialTrees(field).isEmpty()) /*&& !field.isSynthetic()*/ - && configuration.serialwarn) { + && options.serialWarn) { messages.warning(field, "doclet.MissingSerialTag", utils.getFullyQualifiedName(te), utils.getSimpleName(field));