Closed Bug 60236 Opened 24 years ago Closed 22 years ago

[mrjplugin] Java errors on glossary page

Categories

(Core Graveyard :: Java: OJI, defect, P3)

PowerPC
Mac System 9.x
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: junruh, Assigned: nezbo)

References

()

Details

1.) Visit http://java.sun.com/applets/ and click on Java Glossary under Other
Applets, or visit the above URL.
What happens: I get two java error dialog boxes, and then the page does not display.
This works on windows.  Will check on mac when we have resources.
Status: NEW → ASSIGNED
Whiteboard: [mrjplugin]
Change title.
Summary: Java errors on glossary page → [mrjplugin] Java errors on glossary page
Whiteboard: [mrjplugin]
Is this a 1.2 applet? (is there any way to tell?)  Apple is only going up
to JDK 1.1.8 on OS' < OS X.  The "Applet display problems?" advice could
imply that 1.2 is required.


Also doesn't display on iCab pre2.4 and IE 5.0, but they don't have the dialog
boxes coming up.
tnoyes
Assignee: edburns → tnoyes
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
The problem doesn't seem to be with the glossary applet as such.  The given URL
doesn't work with iCab or IE, either.  The first of the following html works for
iCab and IE, but not Mozilla.  The second works for all three.  So Mozilla at
least has a problem with the <PARAM NAME> tag.  All three browsers or MRJ itself
has a problem with something about the original <OBJECT or <COMMENT> <EMBED
html.  See also bug #8839 as this is identical behavior.  Here's the html:

<!-- refer to glossary myself for bug #60236 -->
<!-- using MacOS 9.1, MRJ 2.2.3, Swing 1.1.1 -->
<!-- this approach works in iCab 2.4, IE 5.0 -->
<!-- but not in Mozilla 0.8, MRJPlugin 1.0b2 -->
<html>
<head>
<title>Glossary</title>
</head>
<body>
<applet
    codebase="http://192.9.48.9/applets/glossary/"
    archive=glossary.jar width=500 height=400>
    <param name = code value = "glossary.Main" >
    <param name = archive value = "glossary.jar" >
</applet>
</body>
</html>

and the html that works for mozilla (note the lack of <PARAM NAME>):

<!-- refer to glossary myself for bug #60236 -->
<!-- using MacOS 9.1, MRJ 2.2.3, Swing 1.1.1 -->
<!-- this approach works in iCab 2.4, IE 5.0 -->
<!-- AND in Mozilla 0.8, MRJPlugin 1.0b2 -->

<html>
<head>
<title>Glossary</title>
</head>
<body>
<applet
    codebase = "http://192.9.48.9/applets/glossary/"
    code = glossary.Main
    archive = glossary.jar
    width=500 height=400>
</applet>
</body>
</html>

More trial and error reveals that there IS a way to get Mozilla to respond to
the OBJECT tag, but in a way which seems counter to the Sun documentation.  Note
that there are no PARAM NAME's and that codebase is not used for the plugin, but
for the applet.  Here 'tis:

<!-- (looking at bug #60236) -->
<!-- using MacOS 9.1, MRJ 2.2.3, Swing 1.1.1 -->
<!-- this approach works Mozilla 0.8, MRJPlugin 1.0b2 -->
<!-- though the syntax seems illegal -->
<!-- the OBJECT tag doesn't work in iCab or IE -->
<html>
<head>
<title>Glossary</title>
</head>
<body>
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width = "500" height = "400"
    codebase = "http://192.9.48.9/applets/glossary/"
    code = glossary.Main
    archive = glossary.jar
</object>
</body>
</html>
Just noticed bug #39047 looks to be the same with regards to the OBJECT tag.
Any additional comments for bug #8839 and bug #60236 I'll put into bug #39047.
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
QA Contact: pmac → petersen
The url provided is no longer valid. Marking invalid.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.