Closed Bug 70847 Opened 24 years ago Closed 13 years ago

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

Categories

(Core Graveyard :: Java: Live Connect, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: beard, Unassigned)

References

Details

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.
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.
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
Yep, I'm sick of this problem as well.  I'll talk to Ed about taking action
on 15488.
Let's resolve this as soon as possible.
Target Milestone: --- → mozilla0.9.1
-> 0.9.2
Target Milestone: mozilla0.9.1 → mozilla0.9.2
--> mozilla0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3
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
Target Milestone: mozilla0.9.4 → mozilla0.9.5
--> 0.9.6
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
-> 1.0
Target Milestone: mozilla0.9.9 → mozilla1.0.1
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".
OS: Mac System 9.x → MacOS X
-> default assignee for old netscape assigned bugs.
Assignee: beard → live-connect
Status: ASSIGNED → NEW
Target Milestone: mozilla1.0.1 → ---
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
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.