re PR java/16701 (Error when constant initializer depends on another constant with...
authorBryce McKinlay <mckinlay@redhat.com>
Mon, 2 Aug 2004 21:20:46 +0000 (21:20 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 2 Aug 2004 21:20:46 +0000 (22:20 +0100)
commit899deeca6c931c4f4a21e73d40b623346d632fe9
tree489c5ba70ebca4a8c68b6e6cfbbc6dd6343b586b
parent4c24b21a47dc8d146c8e4699e4b5a593a00fd9a9
re PR java/16701 (Error when constant initializer depends on another constant with restricted access)

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

PR java/16701
* parse.y (fold_constant_for_init): Call resolve_field_access with
correct current_class context.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* testsuite/libjava.compile/PR16701.java: New test.

From-SVN: r85453
gcc/java/ChangeLog
gcc/java/parse.y
libjava/ChangeLog
libjava/testsuite/libjava.compile/PR16701.java [new file with mode: 0644]