Java: Fix PR 1262
Andrew Haley
aph@redhat.com
Tue Jun 29 10:02:00 GMT 2004
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.
More information about the Java-patches
mailing list