Closed Bug 81223 Opened 24 years ago Closed 21 years ago

Need to add browser-side Waterfall for the Mac

Categories

(Core Graveyard :: Java: OJI, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nezbo, Assigned: nezbo)

Details

This will be where I'll post links to changes and new files to get the Mac-necessary stuff checked in for Waterfall. Browser side (XPCOM) only
Need to enter changes to two files in: http://homepage.mac.com/mrjplugin/wf/81223/81223.diffs which are: in nsJavaHTMLObjectFactory.cpp, the Mac needs nsCRT.h to be included if it's to find nsCRT::strdup in nsPluggableJVM.cpp, the whole PR_GetSharedLibrary doesn't appear to work on the Mac, so for now nop the getenv call and write a temporary loadPluginDLL(). This function looks for a shared library with fragment "jvmp" (can't call it "jvmp.shlb" as the period seems to be a problem for GetSharedLibrary) next to the app, NOT in the dist/viewer/Components folder. Add a build folder, /java/pluggable-jvm/wf_moz6/macbuild/ which contains the following files: Waterfall.idl.mcp (compile both targets and put an alias of the .xpt into the Components folder) Waterfall.mcp (the XPCOM component. Put an alias of the .shlb into the Components folder) waterfall.prefix.h http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/Waterfall.idl.mcp http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/Waterfall.mcp http://homepage.mac.com/mrjplugin/wf/81223/wf_moz6_macbuild/waterfall.prefix.h The .mcp's are binaries which are the project files, similar to makefiles. Add the folder /java/pluggable-jvm/wf/public/mac/ which just contains the same files as the linux folder, jni_md.h and jvmp.h http://homepage.mac.com/mrjplugin/wf/81223/wf_public_mac/jni_md.h http://homepage.mac.com/mrjplugin/wf/81223/wf_public_mac/jvmp.h To build, you must get rid of the jni.h file (it's real old, v.1.28) and use a newer one. I use v1.47 and put it in wf/public/ All these links will become invalid after the stuff gets checked in.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
QA Contact: pmac → petersen
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".
Mac Classic RIP.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.