Closed Bug 36973 Opened 25 years ago Closed 23 years ago

nsPluginsDir should not use nsFileSpec; use nsIFile instead

Categories

(Core Graveyard :: Plug-ins, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 77231
Future

People

(Reporter: dougt, Assigned: serhunt)

References

Details

nsJVMManager should use nsIFile. nsFileSpec is unsupported. nsFileSpec::nsFileSpec() line 828 + 34 bytes nsPluginsDir::nsPluginsDir(unsigned short 0x0002) line 123 + 29 bytes nsPluginHostImpl::LoadPlugins(nsPluginHostImpl * const 0x0110d7f4) line 2296 nsPluginHostImpl::GetPluginFactory(nsPluginHostImpl * const 0x0110d7f4, const char * 0x01fef690, nsIPlugin * * 0x0012f670) line 2113 nsJVMManager::StartupJVM() line 564 + 32 bytes nsJVMManager::MaybeStartupLiveConnect() line 700 + 20 bytes nsJVMManager::StartupLiveConnect(nsJVMManager * const 0x0110b3e8, JSRuntime * 0x00c3c898, int & 0x00000000) line 128 + 11 bytes nsJSEnvironment::nsJSEnvironment() line 1101 + 33 bytes
THis is an OJI related bug. Not a Pluglet(java implemented plugins) bug. Changing category and reassign bug to owner of the OJI component.
Assignee: akhil.arora → drapeau
Component: Java-Implemented Plugins → OJI
QA Contact: geetha.vaidyanaathan → paw
Loki, Ed: can one of you take this on? Loki, if you can take this on this week while Ed is travelling, that would help a lot. If you can't, just add a comment to this bug so Ed and I know.
i'll take a gander indeed.
this bug has _nothing_ to do with OJI (except that the stack trace happens to occur while travelling through the plugin load). a search through all oji code and oji related headers finds no reference to nsFileSpec; however, looking at nsPluginsDir, we see that nsPluginsDir indeed extends nsFileSpec. this is not an OJI issue, this is an issue with the mozilla plugins code (mozilla/modules/plugins (/nglsrc is the directory containing nsPluginsDir)) andrew volkov(av@netscape.com) should take ownership of this bug (module owner for plugins) - but not sure i have the "power" to make that change.. george? additionally, the summary of this bug should be changed to read "nsPluginsDir should not extend nsFileSpec" or something like that (something without the word "nsJVMManager" in it...)
Re-assigning to Plug-ins module owner (Andrei: you're it). Thank you to Loki for the analysis that discovered the source of the problem. Also, changed the summary of the bug to clarify it.
Assignee: drapeau → av
Component: OJI → Plug-ins
Summary: nsJVMManager should use nsIFile → nsPluginsDir should not use nsFileSpec; use nsIFile instead
Removing from CC list.
Not a Netscape 6 RTM blocker. FUTURE. This bug has been marked Future because the Netscape engineer it is assigned to is overburdened.
Target Milestone: --- → Future
*** Bug 56154 has been marked as a duplicate of this bug. ***
Updated QA Contact
QA Contact: paw → shrir
Perhaps with the updating of plugin scanning in bug 77231, this can be done as well. What do you guys think?
Blocks: 102700
Yeah - It's all going to nsIFile in bug 77231. I'd say this is a dup.
*** This bug has been marked as a duplicate of 77231 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.