SUGGESTED FIX
getLiveConnectObject() method is added, Applet2Adapters implementation will decide what is the proper object to expose for LiveConnect support. For legacy java.awt.Applet, it is Applet itself. For FX, it will be the user class implement the application instead of the FXApplet2Adapter.
Webrev can be find at
http://sa.sfbay.sun.com/projects/deployment_data/7-client/6998409/
|
SUGGESTED FIX
The following fix is pening to CR 6998411 and 6998413. Once we clear those two, following fix will work for LiveConnect.
diff -r 77e5029c740d src/common/share/classes/com/sun/deploy/uitoolkit/Applet2Adapter.java
--- a/src/common/share/classes/com/sun/deploy/uitoolkit/Applet2Adapter.java Wed Dec 22 18:58:36 2010 -0800
+++ b/src/common/share/classes/com/sun/deploy/uitoolkit/Applet2Adapter.java Tue Dec 28 12:07:11 2010 -0800
@@ -105,8 +105,8 @@
// Igor's insist there is no need to have this method, and insist we to have
// Applet here as a compromise before we work out the issues.
// It should be Object instead of Applet for the real applet object
- public Applet getApplet() {
- return (Applet) applet;
+ public Object getApplet() {
+ return applet;
}
/**
|