-
Bug
-
Resolution: Cannot Reproduce
-
P1
-
None
-
1.2.2_02
-
sparc
-
solaris_7
The AppletCheckConnectForJDK12.class is missing from the javaplugin.jar file
which causes the getApplets method to fail.
The AppletContext.getApplets() method always returns an empty enumeration
under the Solaris plugin. It works properly with the 1.2.2-001 plugin
on win32 and with the appletviewer from 1.2.2_05 on Solaris.
To reproduce the problem, save the attachment, uncompress it and untar
it. Run 'javac Applet1.java' (I used javac from JDK 1.2.2_05 for my test.
Then load the html file SolarisBug.html into Netscape with the 1.2 Solaris plugin. Once both applets appear, click on the start button of each applet. You should start to see output in the applets that is similar to the
following:
sun.plugin.navig.motif.MotifAppletContext@1ca163d
Did NOT Find Applets
Then load test.html in appletviewer and you should notice messgaes
similar to:
Found Applets
Applet1[panel0,0,0,298x387,invalid,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,298x387,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=2,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Applet1[panel1,0,0,298x387,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,298x387,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=2,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
I have tried using the Solaris plugin both with the default JRE (1.2.1_03) and with the JRE from JDK 1.2.2_05. The problem occurs with both JREs. I used
Netscape 4.7 for these tests.
papken@eng 2000-04-12
which causes the getApplets method to fail.
The AppletContext.getApplets() method always returns an empty enumeration
under the Solaris plugin. It works properly with the 1.2.2-001 plugin
on win32 and with the appletviewer from 1.2.2_05 on Solaris.
To reproduce the problem, save the attachment, uncompress it and untar
it. Run 'javac Applet1.java' (I used javac from JDK 1.2.2_05 for my test.
Then load the html file SolarisBug.html into Netscape with the 1.2 Solaris plugin. Once both applets appear, click on the start button of each applet. You should start to see output in the applets that is similar to the
following:
sun.plugin.navig.motif.MotifAppletContext@1ca163d
Did NOT Find Applets
Then load test.html in appletviewer and you should notice messgaes
similar to:
Found Applets
Applet1[panel0,0,0,298x387,invalid,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,298x387,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=2,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Applet1[panel1,0,0,298x387,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,298x387,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=2,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
I have tried using the Solaris plugin both with the default JRE (1.2.1_03) and with the JRE from JDK 1.2.2_05. The problem occurs with both JREs. I used
Netscape 4.7 for these tests.
papken@eng 2000-04-12
- relates to
-
JDK-4481951 AppletContext.getApplets() returns an incorrect Enumeration of Applets
-
- Resolved
-