commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug #998] classpath/vm/reference/java/lang/Throwable.java setStackTrace


From: nobody
Subject: [Bug #998] classpath/vm/reference/java/lang/Throwable.java setStackTrace() problem.
Date: Thu, 10 Oct 2002 08:47:44 -0400

=================== BUG #998: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=998&group_id=85

Changes by: Mark Wielaard <address@hidden>
Date: 2002-Oct-10 14:47 (Europe/Amsterdam)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Throwable has been merged with libgcj including the suggested fix.



=================== BUG #998: FULL BUG SNAPSHOT ===================


Submitted by: rzschech                  Project: classpath                      
Submitted on: 2002-Aug-15 10:13
Severity:  5 - Major                    Resolution:  None                       
Assigned to:  mark                      Status:  Closed                         
Platform Version:  None                 

Summary:  classpath/vm/reference/java/lang/Throwable.java setStackTrace() 
problem.

Original Submission:  Hi,

I was just reading though your code out of iterest (as you do ;-) and I think 
I've found a problem with the setStackTrace() method in the Throwable class.

The "stackTrace" parameter needs to be cloned/copied so that the caller can't 
then modify the internal stackTrace of the Throwable object by for example 
setting an index in the stackTrace array to null.


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Oct-10 14:47             By: mark
Throwable has been merged with libgcj including the suggested fix.

-------------------------------------------------------
Date: 2002-Aug-15 22:05             By: mark
I was wondering about that myself. I recently updated that code to work with 
libgcj and added a similar note at that point.

I will add the copy as soon as I merge the code back from libgcj (it hasn't 
been approved yet).


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=998&group_id=85




reply via email to

[Prev in Thread] Current Thread [Next in Thread]