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

False positive messages about missing comments for serialization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • 16
    • tools

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved: