From 0ca44ddd90ac6f1566636569981340cfa73eeaf1 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Fri, 30 Aug 2002 02:33:41 +0000 Subject: [PATCH] Prepends plugin classes to the beginning of the boot class path, to fix part 2 of bug #164712. r=sdagley, sr=sfraser. --- plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp b/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp index 1f5c88d8718e..be998bfe3153 100644 --- a/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp +++ b/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp @@ -497,7 +497,9 @@ static OSStatus spec2path(const FSSpec& spec, char* path, UInt32 maxPathSize) string MRJSession::getClassPath() { - string classPath("-Djava.class.path="); + // to work around problem in Mac OS X 10.2 (Jaguar) (bugzilla #164712), + // put our classes in the boot class path. + string classPath("-Xbootclasspath/p:"); // keep appending paths make from FSSpecs. MRJClassPath::const_iterator i = mClassPath.begin();