This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Reminder: Illegal Package-Private Accesses in libgcj
- From: Bryce McKinlay <bryce at mckinlay dot net dot nz>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 3 Nov 2003 13:00:27 +1300
- Subject: Re: Reminder: Illegal Package-Private Accesses in libgcj
- References: <3FA539CB.3DC9D718@hotmail.com>
On Nov 3, 2003, at 6:07 AM, Ranjit Mathew wrote:
With my crude patch to GCJ for detecting illegal package-private
accesses, I found that the current 3.4 snapshot still contains
these violations:
1. java.lang.VMThrowable illegally accesses
gnu.gcj.runtime.StackTrace.stackTraceAddrs( )
2. gnu.gcj.runtime.NameFinder illegally accesses
java.lang.StackTraceElement's constructor
I am currently working on some significant changes the stack trace
stuff (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12740) - both of
these will go away when I'm done.
3. gnu.awt.xlib.XEventLoop illegally accesses
gnu.gcj.xlib.XAnyEvent's constructor
How about this?
2003-11-03 Bryce McKinlay <bryce@mckinlay.net.nz>
* gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
public.
Index: XAnyEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/gcj/xlib/XAnyEvent.java,v
retrieving revision 1.2
diff -u -r1.2 XAnyEvent.java
--- XAnyEvent.java 25 Aug 2003 19:02:29 -0000 1.2
+++ XAnyEvent.java 2 Nov 2003 23:56:37 -0000
@@ -58,7 +58,7 @@
public final static long MASK_SUBSTRUCTURE_NOTIFY = 1L<<19,
MASK_SUBSTRUCTURE_REDIRECT = 1L<<20;
- XAnyEvent(Display display)
+ public XAnyEvent(Display display)
{
this.display = display;
init();
Regards
Bryce.