Added workaround to get JavaDOM to work on Linux.

git-svn-id: svn://10.0.0.236/trunk@59781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nis%sparc.spb.su
2000-02-04 17:23:51 +00:00
parent 79248e7545
commit 8b969cb123
2 changed files with 12 additions and 11 deletions

View File

@@ -524,6 +524,15 @@ void nsJavaDOMImpl::StartJVM(void) {
strcat(p, cp);
vm_args.classpath = p;
}
#ifdef DISABLE_JIT
/* workaround to get java dom to work on Linux */
char **props = new char*[2];
props[0]="java.compiler=";
props[1]=0;
vm_args.properties = props;
#endif
#ifdef DEBUG
printf("classpath is \"%s\"\n", vm_args.classpath);
#endif // DEBUG