OSDN Git Service

* include/java-interp.h: Don't include MethodInvocation.h.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Object.java
index b61943a..9523f03 100644 (file)
@@ -1,6 +1,6 @@
 // Object.java - The root of all evil.
 
-/* Copyright (C) 1998, 1999  Red Hat, Inc.
+/* Copyright (C) 1998, 1999, 2000  Red Hat, Inc.
 
    This file is part of libgcj.
 
@@ -66,21 +66,6 @@ public class Object
   // completeness (some day we'll be able to auto-generate Object.h).
   private final native void sync_init ();
 
-  // This exists as a workaround for the fact that we can't catch a
-  // Java Exception from C++.  This is from section 12.6 of the Java
-  // Language Spec.  FIXME: remove this once exception processing
-  // works.
-  private static final void hack12_6 (Object f)
-  {
-    try
-      {
-       f.finalize();
-      }
-    catch (Throwable x)
-      {
-      }
-  }
-
   // Note that we don't mention the sync_info field here.  If we do,
   // jc1 will not work correctly.
 }