Closed
Bug 6020
Opened 25 years ago
Closed 25 years ago
Unable to load java applet using file:
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
VERIFIED
INVALID
M12
People
(Reporter: pawyskoczka, Assigned: edburns)
References
()
Details
Using apprunner built on 5/6
Steps:
1. Start the apprunner
2. Type the following url in the location space
file:///F|/publish/oji/applet.html
3. Get a Loading Java Applet message in the browser window but applet is not
displayed
This is what shows up in the java console
ava.security.AccessControlException: access denied (java.io.FilePermission
\F:\publish\oji\applets\Special\CrazyText\whitebg.gif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.image.URLImageSource.<init>(Unknown Source)
at sun.applet.AppletImageRef.reconstitute(Unknown Source)
at sun.misc.Ref.get(Unknown Source)
at sun.plugin.ActivatorAppletContext.getImage(Unknown Source)
at java.applet.Applet.getImage(Unknown Source)
at java.applet.Applet.getImage(Unknown Source)
at CrazyText.init(CrazyText.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
if you use http://jazz/users/paw/publish/oji/applet.html instead of
file:///F|/publish/oji/applet.html the applet loads fine.
The applet is loaded if your running under Communicator 4.6
The information below was contained in the dos window for apprunner
FindBookmarkShortcut: in='file:///F|/publish/oji/applet.html' out=''
Added page file:///F|/publish/oji/applet.html to the rdf:history datasource
Got a handle to forward menu item
Setting forward menu item disabled
Obtained MenuItem Back
Setting Back menuitem to enabled
Document file:///F|/publish/oji/applet.html loaded successfully
Reporter | ||
Comment 1•25 years ago
|
||
Running with the latest JRE 1.3
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: M7
Comment 2•25 years ago
|
||
Reassigning all OJI bugs to george.drapeau@eng.sun.com
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Tested this with Yesterday's mozilla build and July 2's Java Plugin-1.3 build.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 4•25 years ago
|
||
Doesn't seem to work using the 1999111520-M11 -- Works with http. Reopening the bug.
Re-assigning to Ed; Ed, would you please take a look at this and see if you run
into the same problem, when it's convenient?
Can you please publish the class files that make up your test applet so I can
copy them to my local disk and test this bug?
Thanks,
Ed
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 9•25 years ago
|
||
<!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Web Browser Web View (HTML): Java</title>
</head>
<body>
<!-- ********************** Acceptance Test Cases ************************** -->
<p>
<center>
<applet codebase=CrazyText code="CrazyText.class" width=310 height=65>
<param name=text value="Java Applets">
<param name=delay value="100">
<param name=delta value="5">
<param name=hgap value="15">
<param name=clear value="true">
<param name=cycle value="char">
<param name=bgcolor value="#000000">
<param name=bgImage value="applets/Special/CrazyText/whitebg.gif">
<param name=borderColor value="#ffdead">
<param name=borderSize value="3">
<param name=borderOuter value="2">
<param name=borderInner value="3">
<param name=borderRaised value="true">
<param name=shadowDepth value="1">
<param name=fontSize value="21">
<param name=url value="none">
<param name=debug value="false">
<h1>Java Applet Demos</h1>
This page won't be of much value without a Java-enabled browser!
</applet>
</center>
</body>
</html>
Ed,I hope this is what you wanted. If not,let me know.
Reporter | ||
Comment 10•25 years ago
|
||
Verified in build 20000201516 and new JRE 1.3
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•