[Patch] PR java/19870: Private static members accessed across nested classes (Part 2, Take 2)

Ranjit Mathew rmathew@gmail.com
Sun Aug 14 15:41:00 GMT 2005


Hi,

  Here is a resubmission of the patch for PR java/19870 part 2:

    http://gcc.gnu.org/ml/java-patches/2005-q2/msg00742.html

I had withdrawn that patch to investigate a miscompilation of
java.util.AbstractList$1.finit$(). I have fixed that in this
version of the patch. I apologise for the unnecessarily long
time I took to get around to submitting this.

Tested on i686-pc-linux-gnu. The effect of this patch on
the libjava testsuite (including Jacks) is:

  FAIL: 15.12.3-explicit-constructor-9
  FAIL: 3.10.2-round-8
  XPASS: 8.5.2-non-static-member-usage-2
  XPASS: 3.10.2-double-14

3.10.2-round-8 and 3.10.2-double-14 are side-effects of the bug
reported in PR java/22113 and just happen to be exposed by this
patch. I therefore recommend adjusting jacks.xfail only for the
other two for this patch.

I am attaching the patch and the testsuite adjustments for this
patch, including a test that demonstrates what is now possible.

Thanks,
Ranjit.

:ADDPATCH java:

-- 
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://ranjitmathew.hostingzero.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr19870_2.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050814/f78dedf9/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr19870_2_ts.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050814/f78dedf9/attachment-0001.txt>


More information about the Java-patches mailing list