This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch proposes to fix PR java/20338 by allowing a call to _Jv_InitClass to be emitted for a private static method if it is inside an inner class. Tested on i686-pc-linux-gnu with Jacks included and causes no regressions. When I tried to add a testcase for this however, I noted a queer thing: if the class file is generated by GCJ, gij throws an IllegalAccessError, while JDK 1.4.2_03 does not. If the class file is generated by JDK instead, gij seems to execute it just fine. I did not probe it further though. OK for mainline? Thanks, Ranjit. -- Ranjit Mathew Email: rmathew AT gmail DOT com Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
Attachment:
pr20338.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |