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

False positive messages about missing comments for serialization

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: