jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41660] - Fields in Annotations and AnnotationEntry are private, should be protected
Date Tue, 20 Feb 2007 22:55:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41660>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41660





------- Additional Comments From skitching@apache.org  2007-02-20 14:55 -------
Just as a general note, protected fields should be used with caution as they
have significant implications for binary compatibility; once added they become
part of the "public api" of the class and cannot be changed without potentially
breaking existing code.

Where possible, protected accessor methods are better than allowing direct
access to protected fields.

Note, however, that I haven't reviewed this patch to determine what the best
solution is for this particular case.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org


Mime
View raw message