Menu

#16 Making protected method public should trigger an ERROR

Version 1.0
open
Checker (9)
5
2008-11-06
2008-11-06
Lars Kühne
No

As reported by Simon in http://www.mail-archive.com/dev@myfaces.apache.org/msg35694.html
---
Anything marked as ERROR is a binary incompatibility. Actually there is one case that *is* an incompatibility that clirr has only rated as INFO: a method was promoted from protected to public.

This technically can break subclasses that override the method and declare the overriding version as protected.
---

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.