diff a/src/java.base/share/classes/java/security/cert/CertPath.java b/src/java.base/share/classes/java/security/cert/CertPath.java
--- a/src/java.base/share/classes/java/security/cert/CertPath.java
+++ b/src/java.base/share/classes/java/security/cert/CertPath.java
@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2021, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this
@@ -120,11 +120,12 @@
 public abstract class CertPath implements Serializable {
 
     @java.io.Serial
     private static final long serialVersionUID = 6068470306649138683L;
 
-    private String type;        // the type of certificates in this chain
+    /** The type of certificates in this chain. */
+    private String type;
 
     /**
      * Creates a {@code CertPath} of the specified type.
      * <p>
      * This constructor is protected because most users should use a
