re PR java/1262 (Method with default access can be overridden in another package)
authorBryce McKinlay <mckinlay@redhat.com>
Tue, 29 Jun 2004 17:58:44 +0000 (17:58 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Tue, 29 Jun 2004 17:58:44 +0000 (18:58 +0100)
commit9c5fdae6338380b3dd9d98c9540fb69c242baae7
tree0f8408bfb477df09486959aa6bb0df4f087e0bb4
parent4961683533a0f3dd4ecd4aef5d2084463be1e582
re PR java/1262 (Method with default access can be overridden in another package)

PR java/1262
* class.c (layout_class_method): Do not override package-private
method if its in a different package.
(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.

From-SVN: r83867
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/java-tree.h
gcc/java/parse.y