From 7106cddec44a3373df1e2578bb96e5ab3eb86ba3 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Fri, 30 Aug 2002 02:38:00 +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. git-svn-id: svn://10.0.0.236/trunk@128519 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp b/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp index 1f5c88d8718..be998bfe315 100644 --- a/mozilla/plugin/oji/MRJCarbon/plugin/Source/MRJSession.cpp +++ b/mozilla/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();