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)

Other
AIX
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pkwarren, Assigned: jdunn)

Details

(Keywords: fixedOEM)

Attachments

(4 files)

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.
Attached file test1.class
Attached file test1.html
Attached file test1.java
Attachment #91807 - Attachment description: Java class file illustrating the problem. → test1.class
Attachment #91809 - Attachment description: HTML file to test the applet → test1.html
Attachment #91810 - Attachment description: Java source file which crashes the java plugin → test1.java
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.
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 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 on attachment 91816 [details] [diff] [review] Removed workAroundAIXJavaBug from liveconnect r=rogerl
Attachment #91816 - Flags: review+
Whiteboard: branchOEM
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+
Beard's still out, IIRC -- who will check this fix into the trunk? /be
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
fix checked into trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: branchOEM → branchOEM+
Whiteboard: branchOEM+ → branchOEM+ fixedOEM
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
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
Whiteboard: branchOEM+ fixedOEM → fixedOEM
Keywords: fixedOEM
Whiteboard: fixedOEM
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: