--- a/test/hotspot/jtreg/vmTestbase/gc/gctests/nativeGC01/libnativeGC01.cpp Mon Oct 22 17:00:04 2018 -0700
+++ b/test/hotspot/jtreg/vmTestbase/gc/gctests/nativeGC01/libnativeGC01.cpp Mon Oct 22 19:31:41 2018 -0700
@@ -27,7 +27,7 @@
extern "C" {
/*
- * A C function that takes a reference to java Object( a circular Linked list)
+ * A C function that takes a reference to java Object (a circular Linked list)
* and utilizes this reference to do a java method callback to determine the
* number of elements in the linked list
*/
@@ -55,8 +55,8 @@
*/
clss = env->GetObjectClass(linked_list);
- mid2 = env->GetMethodID(clss, "getLength", "()I" );
- if (mid2 == 0) {
+ mid2 = env->GetMethodID(clss, "getLength", "()I");
+ if (mid2 == 0) {
printf("couldnt locate method getLength()");
return -1;
}