diff --git a/java/plugins/mozilla/Makefile.in b/java/plugins/mozilla/Makefile.in index 3854ee944613..5684958cb513 100644 --- a/java/plugins/mozilla/Makefile.in +++ b/java/plugins/mozilla/Makefile.in @@ -82,6 +82,8 @@ INCLUDES += \ CXXFLAGS += /Zi /Yd endif +CXXFLAGS += -DFORCE_PR_LOG + DEFINES += -DMOZILLA_STRICT_API ifeq ($(OS_ARCH),Linux) diff --git a/java/plugins/src/Makefile.in b/java/plugins/src/Makefile.in index 88bc2e83db84..58dde0683ad1 100644 --- a/java/plugins/src/Makefile.in +++ b/java/plugins/src/Makefile.in @@ -85,7 +85,7 @@ XPIDLSRCS = \ iPlugletManager.idl \ $(NULL) -CXXFLAGS := $(MOZ_TOOLKIT_REGISTRY_CFLAGS) -DMOZILLA_INTERNAL_API -D_REENTRANT -DOJI_DISABLE $(CXXFLAGS) +CXXFLAGS := $(MOZ_TOOLKIT_REGISTRY_CFLAGS) -DMOZILLA_INTERNAL_API -D_REENTRANT -DOJI_DISABLE $(CXXFLAGS) -DFORCE_PR_LOG ifeq ($(OS_ARCH),Darwin) INCLUDES += -I$(MOZ_JDKHOME)/include -I. diff --git a/java/plugins/src/PlugletEngine.cpp b/java/plugins/src/PlugletEngine.cpp index 4a4a1cf8a388..d53a359aa9cb 100644 --- a/java/plugins/src/PlugletEngine.cpp +++ b/java/plugins/src/PlugletEngine.cpp @@ -202,7 +202,7 @@ void PlugletEngine::StartJVM() { options[3].optionString=""; //-Djava.compiler=NONE"; vm_args.version = JNI_VERSION_1_4; vm_args.options = options; - vm_args.nOptions = 3; // EDBURNS: Change to 4 for debugging + vm_args.nOptions = 1; // EDBURNS: Change to 3 for debugging vm_args.ignoreUnrecognized = JNI_FALSE; /* Create the Java VM */ res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);