Skip to content

test instruction

Wenlin Kang openembedded-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1openjdk: fix a random crash on JNI_CreateJavaVMrecipes-core/openjdk/openjdk-8-release-172b11-common.inc recipes-core/openjdk/patches-openjdk-8/0001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch+37 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-java][PATCH 0/1] test instruction

1. Create app program, the content similar to:

   	JNIEnv *env = NULL;
	JavaVM *jvm = NULL;

	JavaVMInitArgs vm_args;
	vm_args.version = JNI_VERSION_1_2;
	vm_args.options = NULL;
	vm_args.nOptions = 0;
	vm_args.ignoreUnrecognized = JNI_TRUE;

	jint res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
	if ( ( res == JNI_OK ) && ( jvm != NULL ) )
	{
		jvm->DestroyJavaVM();
	}

2. Create a shell script to run continually this app on a powerPC target(e.g. qemuppc).

3. It will get randomly a segment.

Note: I used jdk8u_72b05 on qemuppc, for 172b11, because I can't build to pass on ppc, I don't test it, but I think this problem should be exist on latest version too.

Wenlin Kang (1):
openjdk: fix a random crash on JNI_CreateJavaVM

 .../openjdk-8-release-172b11-common.inc       |  1 +
 ...otspot-fix-crash-on-JNI_CreateJavaVM.patch | 36 +++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 recipes-core/openjdk/patches-openjdk-8/0001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch
Signature · 1 line
2.17.1