Patch: RFA: Fix java/18119

Bryce McKinlay mckinlay@redhat.com
Thu Jul 7 02:12:00 GMT 2005


When resolving an inner class, GCJ may encounter a class with the 
correct name but which is invisible due to accessibility. In this case, 
we need to continue following the resolution rules until the correct one 
is found, but keep any "candidate" - correct name but invisible - 
classes around in order to issue a useful error message. This patch does 
this, simplifying resolve_inner_class() somewhat and introducing 
inner_class_accessible() in order to test accessibility without issuing 
an error immediately.

No testsuite regressions and 4 new JACKS passes. OK to commit?

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-PR18119.patch
Type: text/x-patch
Size: 11780 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050707/97b19a67/attachment.bin>


More information about the Java-patches mailing list