Java: Fix PR 1262

Bryce McKinlay mckinlay@redhat.com
Tue Jun 29 03:20:00 GMT 2004


This patch fixes PR 1262. GCJ would incorrectly override "invisible" 
package-private methods from a superclass in another package. The patch 
recognizes this case and assigns a new vtable entry for the new method. 
There is also some code cleanup/reorganization - a couple of static 
methods moved from parse.y and made extern, and "breakdown_qualified" is 
renamed to the clearer "split_qualified_name".

The runtime has the same bug and will require a similar patch to handle 
bytecode and --indirect-dispatch classes.

No regressions. OK to commit?

Bryce


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcj-PR1262.patch
Type: text/x-patch
Size: 7348 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040629/90d76718/attachment.bin>


More information about the Java-patches mailing list