diff options
Diffstat (limited to 'libjava/java/lang/ClassLoader.java')
-rw-r--r-- | libjava/java/lang/ClassLoader.java | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 776093e..fb3f37a 100644 --- a/libjava/java/lang/ClassLoader.java +++ b/libjava/java/lang/ClassLoader.java @@ -1,6 +1,6 @@ // ClassLoader.java - Define policies for loading Java classes. -/* Copyright (C) 1998, 1999 Red Hat, Inc. +/* Copyright (C) 1998, 1999, 2000 Red Hat, Inc. This file is part of libgcj. @@ -234,28 +234,6 @@ public abstract class ClassLoader { throws java.lang.ClassNotFoundException, java.lang.LinkageError; - /** This is called by defineClass0, once the "raw" and uninitialized - * class object has been created, and handles exceptions generated - * while actually defining the class (_Jv_DefineClass). defineClass0 - * holds the lock on the new class object, so it needs to capture - * these exceptions. */ - - private static Throwable defineClass1 (Class klass, byte[] data, - int offset, int length) - { - try { - defineClass2 (klass, data, offset, length); - } catch (Throwable x) { - return x; - } - return null; - } - - /** This is just a wrapper for _Jv_DefineClass */ - private static native void defineClass2 (Class klass, byte[] data, - int offset, int length) - throws Throwable; - /** * Link the given class. This will bring the class to a state where * the class initializer can be run. Linking involves the following |