Closed
Bug 158115
Opened 23 years ago
Closed 23 years ago
workAroundAIXJavaBug in jsj.c breaks Java plugin on AIX
Categories
(Core Graveyard :: Java: Live Connect, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: pkwarren, Assigned: jdunn)
Details
(Keywords: fixedOEM)
Attachments
(4 files)
|
1.00 KB,
application/octet-stream
|
Details | |
|
300 bytes,
text/html
|
Details | |
|
948 bytes,
text/plain
|
Details | |
|
3.09 KB,
patch
|
rogerl
:
review+
brendan
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
In mozilla/js/src/liveconnect/jsj.c, there is a method workAroundAIXJavaBug
which is called to "work around a bug in AIX JDK1.1.6". This method is found in
mozilla/js/src/liveconnect/classes/netscape/javascript/JSUtil.java, however it
is not included in any of the Java Plugin filesets for AIX. This causes Mozilla
to try and call the workAroundAIXJavaBug method, and when that method is not
found, it causes the Java Plugin to crash. I have a testcase available to
illustrate the problem.
I have spoken to the IBM Java developers and they feel that this workaround is
no longer relevant to more recent versions of the Java Plugin.
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Comment 2•23 years ago
|
||
| Reporter | ||
Comment 3•23 years ago
|
||
| Reporter | ||
Updated•23 years ago
|
Attachment #91807 -
Attachment description: Java class file illustrating the problem. → test1.class
| Reporter | ||
Updated•23 years ago
|
Attachment #91809 -
Attachment description: HTML file to test the applet → test1.html
| Reporter | ||
Updated•23 years ago
|
Attachment #91810 -
Attachment description: Java source file which crashes the java plugin → test1.java
| Reporter | ||
Comment 4•23 years ago
|
||
To reproduce the crash, download test1.class and test1.html which are attached
to this bug and place them in the same directory. Then start Mozilla (with the
Java Plugin installed) and view test1.html in the browser.
| Reporter | ||
Comment 5•23 years ago
|
||
Comment 6•23 years ago
|
||
Reassigning to Patrick as the de facto owner of LiveConnect.
Note he is away on sabbatical at the moment. Therefore cc'ing
Brendan, joe.chou@eng.sun.com for possible sr=, r= of the patch
submitted here -
Assignee: rogerl → beard
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•23 years ago
|
||
Comment on attachment 91816 [details] [diff] [review]
Removed workAroundAIXJavaBug from liveconnect
sr=brendan@mozilla.org, let's get this in.
/be
Attachment #91816 -
Flags: superreview+
Comment 8•23 years ago
|
||
Comment on attachment 91816 [details] [diff] [review]
Removed workAroundAIXJavaBug from liveconnect
r=rogerl
Attachment #91816 -
Flags: review+
Comment 9•23 years ago
|
||
Comment on attachment 91816 [details] [diff] [review]
Removed workAroundAIXJavaBug from liveconnect
a=asa (on behalf of drivers) for checkin to 1.1
Attachment #91816 -
Flags: approval+
Comment 10•23 years ago
|
||
Beard's still out, IIRC -- who will check this fix into the trunk?
/be
| Assignee | ||
Comment 11•23 years ago
|
||
Sorry, I should have done this sooner.
I grabbed ownership (but put beard in the cc list)
I will check it in tomorrow AM
Assignee: beard → jdunn
| Assignee | ||
Comment 12•23 years ago
|
||
fix checked into trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
Jim: I'm not familiar with the "fixedOEM" keyword; is this patch
going to be checked into the 1.1 branch ("fixed1.0.1" keyword)?
My understanding is that this is -rMOZILLA_1_0_BRANCH in CVS.
Summary: workAroundAIXJavaBug in jsj.c breaks java plugin on AIX → workAroundAIXJavaBug in jsj.c breaks Java plugin on AIX
Comment 14•23 years ago
|
||
Jim explained to me that this fix should go onto the trunk,
(where it will make the 1.1 branch), and the NETSCAPE_7_0_OEM_BRANCH,
which is what "fixedOEM" means.
Patch verified there and on the trunk; provisionally marking Verified.
pkw@austin.ibm.com: could you confirm that this fixed the problem?
I have no trouble running your testcase on WinNT, but I don't have
an AIX box; thanks -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•