Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251200

False positive messages about missing comments for serialization

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:

      Backports

        Description

        From Florian Weimer on javadoc-dev:
        I'm not sure how recent this change is, but I noticed that "no
        comment" warnings are now printed for entities that are related to
        serialization: non-public classes which implement Serializable, and
        private non-transient fields in serializable classes, and named
        private serialization-related methods.

        I think it might make sense to add a few words to the warning that
        it's about serialization compatibility. It took me a moment to
        realize why javadoc was warning about these constructs.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jjg Jonathan Gibbons
                  Reporter:
                  jjg Jonathan Gibbons
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: