JDK-1.2beta4-G on, SwingSet as applet and Java2Demo as applet don't work and throw exceptions on Solaris 2.6. On Windows NT, they don't work and don't throw exceptions. Also, Animator applet doesn't work. I didn't try any others.
Steps to Reproduce:
0) Use Solaris 2.6 with JDK-1.2beta4-G .
1) Go to SwingSet demo/jfc directory and type 'appletviewer SwingSetApplet.html'.
RESULT: Exceptions are thrown. The applet won't run.
From solaris, SwingSet:
sun.applet.AppletSecurityException: unknown class loader type. unable to check
for getContext
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at sun.applet.AppletSecurityException.<init>(Compiled Code)
at sun.applet.AppletSecurity.getSecurityContext(Compiled Code)
at sun.awt.image.ImageConsumerQueue.<init>(Compiled Code)
at sun.awt.image.InputStreamImageSource.addConsumer(Compiled Code)
at sun.awt.image.InputStreamImageSource.startProduction(Compiled Code)
at java.awt.image.FilteredImageSource.startProduction(Compiled Code)
at sun.awt.image.ImageRepresentation.startProduction(Compiled Code)
at sun.awt.image.Image.addWatcher(Compiled Code)
at sun.awt.image.Image.getProperty(Compiled Code)
at java.awt.swing.ImageIcon.<init>(Compiled Code)
at java.awt.swing.JTabbedPane.insertTab(Compiled Code)
at java.awt.swing.JTabbedPane.addTab(Compiled Code)
at SwingSet.<init>(Compiled Code)
at SwingSetApplet.init(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Java2Demo:
java.security.AccessControlException: access denied (java.lang.RuntimePermission
modifyThreadGroup )
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at java.security.AccessControlException.<init>(Compiled Code)
at java.security.AccessControlContext.checkPermission(Compiled Code)
at java.security.AccessController.checkPermission(Compiled Code)
at java.lang.SecurityManager.checkPermission(Compiled Code)
at java.lang.SecurityManager.checkAccess(Compiled Code)
at sun.applet.AppletSecurity.checkAccess(Compiled Code)
at java.lang.ThreadGroup.checkAccess(Compiled Code)
at java.lang.Thread.init(Compiled Code)
at java.lang.Thread.<init>(Compiled Code)
at java.awt.swing.TimerQueue.start(Compiled Code)
at java.awt.swing.TimerQueue.<init>(Compiled Code)
at java.awt.swing.TimerQueue.sharedInstance(Compiled Code)
at java.awt.swing.Timer.timerQueue(Compiled Code)
at java.awt.swing.Timer.isRunning(Compiled Code)
at java.awt.swing.Timer.setDelay(Compiled Code)
at java.awt.swing.text.DefaultCaret.setBlinkRate(Compiled Code)
at java.awt.swing.plaf.basic.BasicTextUI.installDefaults(Compiled Code)
at java.awt.swing.plaf.basic.BasicTextUI.installUI(Compiled Code)
at java.awt.swing.plaf.metal.MetalTextFieldUI.installUI(Compiled Code)
at java.awt.swing.JComponent.setUI(Compiled Code)
at java.awt.swing.text.JTextComponent.setUI(Compiled Code)
at java.awt.swing.text.JTextComponent.updateUI(Compiled Code)
at java.awt.swing.text.JTextComponent.<init>(Compiled Code)
at java.awt.swing.JTextField.<init>(Compiled Code)
at java.awt.swing.JTextField.<init>(Compiled Code)
at
java.awt.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField.<init>(Compile
d Code)
at java.awt.swing.plaf.basic.BasicComboBoxEditor.<init>(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxEditor.<init>(Compiled Code)
at
java.awt.swing.plaf.metal.MetalComboBoxEditor$UIResource.<init>(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxUI.createEditor(Compiled Code)
at java.awt.swing.plaf.basic.BasicComboBoxUI.installUI(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxUI.installUI(Compiled Code)
at java.awt.swing.JComponent.setUI(Compiled Code)
at java.awt.swing.JComboBox.setUI(Compiled Code)
at java.awt.swing.JComboBox.updateUI(Compiled Code)
at java.awt.swing.JComboBox.<init>(Compiled Code)
at Controls.<init>(Compiled Code)
at Java2Demo.<init>(Compiled Code)
at Java2DemoApplet.init(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Steps to Reproduce:
0) Use Solaris 2.6 with JDK-1.2beta4-G .
1) Go to SwingSet demo/jfc directory and type 'appletviewer SwingSetApplet.html'.
RESULT: Exceptions are thrown. The applet won't run.
From solaris, SwingSet:
sun.applet.AppletSecurityException: unknown class loader type. unable to check
for getContext
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at sun.applet.AppletSecurityException.<init>(Compiled Code)
at sun.applet.AppletSecurity.getSecurityContext(Compiled Code)
at sun.awt.image.ImageConsumerQueue.<init>(Compiled Code)
at sun.awt.image.InputStreamImageSource.addConsumer(Compiled Code)
at sun.awt.image.InputStreamImageSource.startProduction(Compiled Code)
at java.awt.image.FilteredImageSource.startProduction(Compiled Code)
at sun.awt.image.ImageRepresentation.startProduction(Compiled Code)
at sun.awt.image.Image.addWatcher(Compiled Code)
at sun.awt.image.Image.getProperty(Compiled Code)
at java.awt.swing.ImageIcon.<init>(Compiled Code)
at java.awt.swing.JTabbedPane.insertTab(Compiled Code)
at java.awt.swing.JTabbedPane.addTab(Compiled Code)
at SwingSet.<init>(Compiled Code)
at SwingSetApplet.init(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Java2Demo:
java.security.AccessControlException: access denied (java.lang.RuntimePermission
modifyThreadGroup )
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at java.security.AccessControlException.<init>(Compiled Code)
at java.security.AccessControlContext.checkPermission(Compiled Code)
at java.security.AccessController.checkPermission(Compiled Code)
at java.lang.SecurityManager.checkPermission(Compiled Code)
at java.lang.SecurityManager.checkAccess(Compiled Code)
at sun.applet.AppletSecurity.checkAccess(Compiled Code)
at java.lang.ThreadGroup.checkAccess(Compiled Code)
at java.lang.Thread.init(Compiled Code)
at java.lang.Thread.<init>(Compiled Code)
at java.awt.swing.TimerQueue.start(Compiled Code)
at java.awt.swing.TimerQueue.<init>(Compiled Code)
at java.awt.swing.TimerQueue.sharedInstance(Compiled Code)
at java.awt.swing.Timer.timerQueue(Compiled Code)
at java.awt.swing.Timer.isRunning(Compiled Code)
at java.awt.swing.Timer.setDelay(Compiled Code)
at java.awt.swing.text.DefaultCaret.setBlinkRate(Compiled Code)
at java.awt.swing.plaf.basic.BasicTextUI.installDefaults(Compiled Code)
at java.awt.swing.plaf.basic.BasicTextUI.installUI(Compiled Code)
at java.awt.swing.plaf.metal.MetalTextFieldUI.installUI(Compiled Code)
at java.awt.swing.JComponent.setUI(Compiled Code)
at java.awt.swing.text.JTextComponent.setUI(Compiled Code)
at java.awt.swing.text.JTextComponent.updateUI(Compiled Code)
at java.awt.swing.text.JTextComponent.<init>(Compiled Code)
at java.awt.swing.JTextField.<init>(Compiled Code)
at java.awt.swing.JTextField.<init>(Compiled Code)
at
java.awt.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField.<init>(Compile
d Code)
at java.awt.swing.plaf.basic.BasicComboBoxEditor.<init>(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxEditor.<init>(Compiled Code)
at
java.awt.swing.plaf.metal.MetalComboBoxEditor$UIResource.<init>(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxUI.createEditor(Compiled Code)
at java.awt.swing.plaf.basic.BasicComboBoxUI.installUI(Compiled Code)
at java.awt.swing.plaf.metal.MetalComboBoxUI.installUI(Compiled Code)
at java.awt.swing.JComponent.setUI(Compiled Code)
at java.awt.swing.JComboBox.setUI(Compiled Code)
at java.awt.swing.JComboBox.updateUI(Compiled Code)
at java.awt.swing.JComboBox.<init>(Compiled Code)
at Controls.<init>(Compiled Code)
at Java2Demo.<init>(Compiled Code)
at Java2DemoApplet.init(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)