This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Java: Fix PR 1262


Bryce McKinlay writes:

 > 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
 > 
 > 	PR java/1262
 > 	* class.c (layout_class_method): Do not override package-private
 > 	method if its in a different package.

it's

 > 	(split_qualified_name): Move here from parse.y. Rename from
 > 	breakdown_qualified. Add comment.
 > 	(in_same_package): Move here from parse.y. Add comment.
 > 	* java-tree.h (break_down_qualified, in_same_package): Declare.
 > 	(in_same_package): Likewise.
 > 	* parse.y (breakdown_qualified, in_same_package): Moved to class.c.
 > 	Callers updated.

This is good.  However, moving and/or renaming existing functions
places an additional burden on maintainers, so I would urge everyone
to consider carefully before making such changes.  If you think it's
neccessary to do so in this case, go ahead.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]