-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: skT88420 Date: 07/08/99
The HotJavaBrowserBean does not load in the bean box so I tried doing it by hand. The following code attempts to load the HotJavaBrowserBean.
import java.beans.*;
import sunw.hotjava.bean.*;
public class BrowserTest {
BrowserTest() {
try {
ClassLoader cl = getClass().getClassLoader();
System.out.println("Got class loader");
HotJavaBrowserBean tb = (HotJavaBrowserBean)Beans.instantiate(cl, "sunw.hotjava.bean.HotJavaBrowserBean");
System.out.println("Got bean");
}
catch (Exception e) {
System.out.println(e);
}
System.exit(0);
}
public static void main(String args[]) {
new BrowserTest();
}
}
This code produces the following error:
D:\BROWSER>java BrowserTest
Got class loader
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c00000fd)' has
occurred in :
'sunw/hotjava/bean/BeanPolicy.findPolicy (Ljava/lang/ClassLoader;)Lsunw/hotjava/security/BasePolicy;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Replacing HotJavaBrowserBean with the name of any other bean (even beans in the same JAR) cause the program to run without a hitch.
Thanks,
-- Mike
(Review ID: 85376)
======================================================================
- duplicates
-
JDK-4235724 HotJavaBrowserBean crashes jvm
-
- Closed
-