Closed Bug 108519 Opened 24 years ago Closed 24 years ago

Applet.showDocument() fails on file URLs based on "user.home"

Categories

(Core Graveyard :: Java: OJI, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: beard, Assigned: beard)

References

()

Details

(Whiteboard: [Mac OS X Java Plugin])

The problem is that Java uses POSIX path names, but Mozilla is still using HFS+ pathnames. Using Necko's URI parser, I should be able to code around this by converting from POSIX to HFS+ (volume relative) pathnames.
Whiteboard: [Mac OS X Java Plugin]
Alternatively, I could construct a CFURLRef from the passed-in URL, and then use CFURLCopyFileSystemPath, with pathStyle=kCFURLHFSPathStyle, to convert the URL to a form Mozilla can understand.
This should be fixed as of v1.0d7.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified based on patrick comments
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.