JDK-4784270 : Applets are crashing with -esa runtime option
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: generic
  • Submitted: 2002-11-25
  • Updated: 2003-01-01
  • Resolved: 2002-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 b11Fixed
Related Reports
Relates :  
Relates :  
Description
Tested_Java_Release   : 1.4.2 build 06 and build08
Tested_Build          : j2re-1_4_2-beta-windows-i586.exe, 
Tested_Build_Location :  
                /net/sqesvr.sfbay/deployment3/mantis/MB08/windows-i586
Test_Location         : 
http://sqesvr.sfbay/deployment1/mantis_ws_plugin/tests/jarcaching/pluginhtml-default
Test Case : TestMJ_AR.html
Tested_Machine_Name   : namrata/sqe-jpi-03
Tested O/S           :  Win2K/WinXP
Tested_ Browsers      : NS7.x,IE6,NS4.7x
  
Problem Description:
Try to load any applet with -esa option set in the Java Control Panel. it will crash on winXP and win2000. The applets are working fine on win98. This crash has been noticed while doing PIT09 for a fix for bug 4774392. See the attachments for some additonal details 
Steps to Reproduce :
--------------------
1.) Install the j2re
2.) Invoke the browser(IE or NS47x or NS7)
3.) Run the applet 
http://sqesvr.sfbay/deployment1/mantis_ws_plugin/tests/jarcaching/pluginhtml-default/TestMJ_AR.html
4) If the browser crashed than the bug is reproduced


Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-beta FIXED IN: mantis-beta INTEGRATED IN: mantis-b11 mantis-beta VERIFIED IN: mantis-beta
14-06-2004

EVALUATION ###@###.### 2002-11-26 This bug is happened using appletviewer application. It is not a Java Plugin bug, I think it is in JDK side. Here is the exception: C:\J2SDK142\BIN>appletviewer.exe -J-esa http://j2se.east/products/plugin/1.4.2/demos/plugin/applets/Clock/example1.html Exception in thread "main" java.lang.AssertionError at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:365) at java.io.File.getCanonicalPath(File.java:513) at sun.java2d.SunGraphicsEnvironment.registerFontFile(SunGraphicsEnvironment.java:688) at sun.java2d.SunGraphicsEnvironment.registerFontPropertiesFonts(SunGraphicsEnvironment.java:1159) at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:1121) at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:853) at sun.java2d.SunGraphicsEnvironment.access$300(SunGraphicsEnvironment.java:53) at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:195) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:85) at sun.awt.Win32GraphicsEnvironment.<init>(Win32GraphicsEnvironment.java:54) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) at java.awt.Font.initializeFont(Font.java:309) at java.awt.Font.<init>(Font.java:345) at sun.awt.windows.WComponentPeer.<clinit>(WComponentPeer.java:403) at java.awt.Component.initIDs(Native Method) at java.awt.Component.<clinit>(Component.java:520) at sun.applet.Main.run(Main.java:138) at sun.applet.Main.main(Main.java:80) Dennis Gu -------------------------------------------------- The assertion "assert canonicalize0(path).equals(res);" should be changed to use equalsIgnoreCase. ###@###.### 2002-11-26 Fixed in 1.4.2. ###@###.### 2002-12-11
26-11-2002