public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Walk over array components.
@ 2008-05-09 16:56 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-05-09 16:56 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  2b5829eff767d036a36ba23e8a8b46ea62528017 (commit)
      from  3b8311fe61d3f7cf617fbbfa8467402c590e6834 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 2b5829eff767d036a36ba23e8a8b46ea62528017
Author: Andrew Cagney <cagney@redhat.com>
Date:   Fri May 9 12:56:04 2008 -0400

    Walk over array components.
    
    frysk-sys/frysk/jnixx/ChangeLog
    2008-05-09  Andrew Cagney  <cagney@redhat.com>
    
    	* ClassWalker.java: Walk an array's component type, and before the
    	wrapping array.

-----------------------------------------------------------------------

Summary of changes:
 frysk-sys/frysk/jnixx/ChangeLog        |    3 +++
 frysk-sys/frysk/jnixx/ClassWalker.java |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-sys/frysk/jnixx/ChangeLog b/frysk-sys/frysk/jnixx/ChangeLog
index 42d2714..a21c27d 100644
--- a/frysk-sys/frysk/jnixx/ChangeLog
+++ b/frysk-sys/frysk/jnixx/ChangeLog
@@ -1,5 +1,8 @@
 2008-05-09  Andrew Cagney  <cagney@redhat.com>
 
+	* ClassWalker.java: Walk an array's component type, and before the
+	wrapping array.
+
 	* Printer.java (printCxxType(Class)): Delete.
 	(printCxxName(Class,boolean)): New.
 	(printQualifiedCxxName(Class)): Use.
diff --git a/frysk-sys/frysk/jnixx/ClassWalker.java b/frysk-sys/frysk/jnixx/ClassWalker.java
index fd89899..169a14a 100644
--- a/frysk-sys/frysk/jnixx/ClassWalker.java
+++ b/frysk-sys/frysk/jnixx/ClassWalker.java
@@ -80,6 +80,7 @@ abstract class ClassWalker {
 	visited.add(klass);
 	walk(klass.getSuperclass());
 	if (klass.isArray()) {
+	    walk(klass.getComponentType());
 	    acceptArray(klass);
 	} else if (klass.isPrimitive()) {
 	    acceptPrimitive(klass);


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-09 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-09 16:56 [SCM] master: Walk over array components cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).