Name: skT45625 Date: 06/06/2000
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
The following code in Beans.instantiate()
} catch (Exception ex) {
// We have to remap the exception to one in our signature.
// But we pass extra information in the detail message.
throw new ClassNotFoundException("" + cl + " : " + ex);
}
should read (note ", ex" added at end) as below
...new ClassNotFoundException("" + cl + " : " + ex, ex);
so that the location (e.g., line number) of the nested error is
preserved for later stack dumps.
(Review ID: 105784)
======================================================================