javac should issue a warning for calling overridable methods in a constructor, clone, or readObject

XMLWordPrintable

    • generic
    • generic

      As discussed in "Effective Java," a programming restriction on code that returns new objects (constructors, clone, and readObject) is not calling overridable methods. To catch this non-obvious condition, javac could issue a warning if this occurs.

            Assignee:
            Unassigned
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: