LiveConnect uses jni.h that is incompatible with Mac OS Runtime for Java

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
18 years ago
7 years ago

People

(Reporter: beard, Unassigned)

Tracking

Trunk
PowerPC
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
I was doing some tests with LiveConnect and the XPConnect shell, and found that 
certain calls into JNI are causing crashes. I took a look at the access paths for 
the LiveConnect.mcp project and discovered that it is using the jni.h found in 
mozilla/sun-java/stubs/include/jni.h. Changing the access paths to point to the 
jni.h provided in {Compiler}Mac OS Support:JNIHeaders fixes the crash. We should 
definitely retire mozilla/sun-java as soon as possible.

Comment 1

18 years ago
Patrick: would you please look at Bugzilla bug 15488 and note here whether you
think this bug is a duplicate of that one?

I also don't like the idea of having a jni.h in the mozilla repository; at
least, not the old one that's there now.
(Reporter)

Comment 2

18 years ago
This is definitely the same bug. Removing it from the repository will fix this 
bug as well. I'll just make this bug dependent on that bug, so we can track both 
platforms. I can also work around this problem by changing an access path in 
LiveConnect.mcp, which I've done in my own tree.
Depends on: 15488

Comment 3

18 years ago
Yep, I'm sick of this problem as well.  I'll talk to Ed about taking action
on 15488.
(Reporter)

Comment 4

18 years ago
Let's resolve this as soon as possible.
Target Milestone: --- → mozilla0.9.1
(Reporter)

Comment 5

18 years ago
-> 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
(Reporter)

Comment 6

18 years ago
--> mozilla0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3

Comment 7

18 years ago
Doesn't look like this is getting fixed before the freeze tonight.
Pushing out a milestone.  Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
(Reporter)

Updated

18 years ago
Target Milestone: mozilla0.9.4 → mozilla0.9.5
(Reporter)

Comment 8

17 years ago
--> 0.9.6
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.5 → mozilla0.9.6
(Reporter)

Updated

17 years ago
Target Milestone: mozilla0.9.6 → mozilla0.9.8
(Reporter)

Updated

17 years ago
Target Milestone: mozilla0.9.8 → mozilla0.9.9
(Reporter)

Comment 9

17 years ago
-> 1.0
Target Milestone: mozilla0.9.9 → mozilla1.0.1
(Reporter)

Comment 10

17 years ago
This is also going to be a problem in the Mac OS X Java plugin, especially when
we get the mach-o build going. We need to remove the jni.h in our tree and only
build with the one appropriate for each platform.
what´s the current status on this, is this still an issue on OS9 & OSX?
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.

I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".

Updated

16 years ago
OS: Mac System 9.x → MacOS X

Comment 13

12 years ago
-> default assignee for old netscape assigned bugs.
Assignee: beard → live-connect
Status: ASSIGNED → NEW
Target Milestone: mozilla1.0.1 → ---

Updated

8 years ago
Component: Java: Live Connect → Java: Live Connect
Product: Core → Core Graveyard
Firefox code moved from custom Liveconnect code to the NPAPI/NPRuntime bridge a while back. Mass-closing the bugs in the liveconnect component which are likely invalid. If you believe that this bug is still relevant to modern versions of Firefox, please reopen it and move it the "Core" product, component "Plug-Ins".
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.