This is the mail archive of the frysk-cvs@sources.redhat.com mailing list for the frysk 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]

[SCM] master: Treat ArrayIndexOutOfBoundsExceptions as "nasty".


The branch, master has been updated
       via  143e8788bce0a15bdcca355b6a9f92387acd521b (commit)
      from  39b06046cc2cac180bbec24e6a1d557f69b45cd6 (commit)

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

- Log -----------------------------------------------------------------
commit 143e8788bce0a15bdcca355b6a9f92387acd521b
Author: Andrew Cagney <cagney@redhat.com>
Date:   Fri Jan 11 13:48:24 2008 -0500

    Treat ArrayIndexOutOfBoundsExceptions as "nasty".
    
    frysk-core/frysk/hpd/ChangeLog
    2008-01-11  Andrew Cagney  <cagney@redhat.com>
    
    	* CLI.java (nasty(Exception)): Check for
    	ArrayIndexOutOfBoundsException.

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

Summary of changes:
 frysk-core/frysk/hpd/CLI.java  |    1 +
 frysk-core/frysk/hpd/ChangeLog |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/CLI.java b/frysk-core/frysk/hpd/CLI.java
index d03e62d..a46c8a2 100644
--- a/frysk-core/frysk/hpd/CLI.java
+++ b/frysk-core/frysk/hpd/CLI.java
@@ -287,6 +287,7 @@ public class CLI {
 	    cause = c;
 	}
 	return (cause instanceof NullPointerException
+		|| cause instanceof ArrayIndexOutOfBoundsException
 		|| e.getMessage() == null);
     }
 
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index ec121ad..5d5f32a 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-11  Andrew Cagney  <cagney@redhat.com>
+
+	* CLI.java (nasty(Exception)): Check for
+	ArrayIndexOutOfBoundsException.
+
 2008-01-11  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* GenerateCoreCommand.java (interpret): Fix error message text.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]