Patch: Class.finalize() throws a Throwable

Anthony Green green@redhat.com
Fri Feb 21 10:03:00 GMT 2003


Identified by japi.  Ok?

2002-02-21  Anthony Green  <green@redhat.com>

	* java/lang/Class.java (finalize): throws a Throwable.
	

Index: java/lang/Class.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Class.java,v
retrieving revision 1.14
diff -c -r1.14 Class.java
*** java/lang/Class.java	3 Sep 2002 21:33:46 -0000	1.14
--- java/lang/Class.java	21 Feb 2003 10:01:22 -0000
***************
*** 1,6 ****
  // Class.java - Representation of a Java class.
  
! /* Copyright (C) 1998, 1999, 2000, 2002  Free Software Foundation
  
     This file is part of libgcj.
  
--- 1,6 ----
  // Class.java - Representation of a Java class.
  
! /* Copyright (C) 1998, 1999, 2000, 2002, 2003  Free Software Foundation
  
     This file is part of libgcj.
  
***************
*** 346,352 ****
    private native void initializeClass ();
  
    // finalization
!   protected native void finalize ();
  
    /**
     * Strip the last portion of the name (after the last dot).
--- 346,352 ----
    private native void initializeClass ();
  
    // finalization
!   protected native void finalize () throws Throwable;
  
    /**
     * Strip the last portion of the name (after the last dot).





More information about the Java-patches mailing list