gcc/libjava/gnu/gcj
Scott Gilbertson 9e9e204234 XGraphics.java (XGraphics): Use new GC.create.
2003-04-19  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
	(dispose): Null metrics.
	* gnu/awt/xlib/XToolkit.java (sync): Implement.
	* gnu/gcj/xlib/Clip.java (dispose): Change name of native from
	finalize.
	(finalize): Call dispose.
	* gnu/gcj/xlib/Drawable.java (gcCache): New field.
	(gcCachedCount): New field.
	(finalize): New method.
	(putGCInCache): New method.
	(getGCFromCache): New method.
	* gnu/gcj/xlib/GC.java (GC): Make protected.
	(clone): Get new GC from cache if possible.
	(create): New static method.
	(dispose): Save old GC in cache.
	* gnu/gcj/xlib/natClip.cc (dispose): Check for null before
	deleting.
	* gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
	is null.
	* gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
	* java/awt/Container.java (visitChild): Dispose gfx2 when
	finished.

From-SVN: r65827
2003-04-19 19:54:39 +00:00
..
convert For PR libgcj/5303: 2002-03-25 22:08:27 +00:00
io re PR libgcj/5944 (Use of uint32_t breaks libgcj bootstrap on Solaris 2.5.1) 2002-03-15 21:59:12 +00:00
protocol Connection.java (proxyPort, [...]): New static fields. 2003-01-03 18:05:00 +00:00
runtime [multiple changes] 2003-03-10 19:45:30 +00:00
xlib XGraphics.java (XGraphics): Use new GC.create. 2003-04-19 19:54:39 +00:00
Core.java jvm.h: Declare _Jv_RegisterResource. 2001-09-06 22:32:54 +00:00
natCore.cc natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name. 2002-04-24 23:05:17 +00:00
RawData.java Thread.java: Declare `data' as Object, not RawData. 2000-05-18 11:08:25 +01:00