*not part of the buld*

fix for 84801


git-svn-id: svn://10.0.0.236/trunk@99781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
2001-07-24 03:09:18 +00:00
parent 2dc26e1ae2
commit c53c1ccd28
2 changed files with 7 additions and 6 deletions

View File

@@ -446,8 +446,7 @@ UnregisterJavaLoader(nsIComponentManager *aCompMgr, nsIFile *aPath,
// only unregister if we're the current JS component loader
if (!strcmp(javaLoader, BC_JAVACOMPONENTLOADER_ContractID)) {
return catman->DeleteCategoryEntry("component-loader",
javaComponentTypeName, PR_TRUE,
getter_Copies(javaLoader));
javaComponentTypeName, PR_TRUE);
}
return NS_OK;
}

View File

@@ -170,7 +170,7 @@ void test() {
nsresult r;
bcIJavaSample *test;
bcIJavaSample *a = new bcJavaSample();
#if 0
#if 1
r = nsComponentManager::CreateInstance("bcJavaSample",
nsnull,
NS_GET_IID(bcIJavaSample),
@@ -183,7 +183,7 @@ void test() {
//sigsend(P_PID, getpid(),SIGINT);
//test->Test1(2000);
#if 1
#if 0
{
PRThread *thr = PR_CreateThread( PR_USER_THREAD,
thread_start,
@@ -208,12 +208,14 @@ void test() {
}
#endif
//thread_start(test);
#if 0
if (javaSample == NULL) {
return;
}
}
test = javaSample;
#endif
test->Test1((int)PR_GetCurrentThread());
return;
bcIJavaSample *test1;
if (NS_FAILED(r)) {
printf("failed to get component. try to restart test\n");