This bug affects not only Oracle Java plugin but also those applications
based on JNI Invocation API. Here is a very simple example to reproduce
it.

#include <jni.h>

int main(int argc, char *args[]) {
            JavaVM *jvm;
            JNIEnv *env;
            JavaVMInitArgs vm_args;
            JavaVMOption options [1];
            options[0].optionString = "-Djava.class.path=/usr/lib/java";
            vm_args.version = JNI_VERSION_1_6;
            vm_args.nOptions = 1;
            vm_args.options = options;
            vm_args.ignoreUnrecognized = 0;

            JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args); //crash at this line
            /**............**/

            (*jvm)->DestroyJavaVM(jvm);
            return 0;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699772

Title:
  linux-image-4.4.0-81-generic Regression: Oracle Java plugin crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1699772/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to