Java: Fix PR 16701

Bryce McKinlay mckinlay@redhat.com
Thu Jul 29 14:07:00 GMT 2004


This patch fixes PR 16701. fold_constant_for_init() recursively resolves 
other constants, but it didn't update the global current_class before 
calling resolve_field_access(). This resulted in access checks being 
performed from the wrong context.

No new libjava/jacks regressions.

OK to commit?

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcj-PR16701.patch
Type: text/x-patch
Size: 1214 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040729/f7452a4a/attachment.bin>


More information about the Java-patches mailing list