-> The patch
only has deletions (4 per
file), no insertions
-> I double
checked that all files only
have exactly those removals
and no other removals EXCEPT:
which is still
defining the NSK_STUB macros
but was doing it for C/C++
styles.
- Look for
deletions but that are not
exactly "-#endif" or "-#ifdef
__cplusplus"
grep "^-[^-]"
jdk12-jvmti12.patch | grep -v
"^-#endif$" | grep -v
"^-#ifdef __cplusplus$"
That command
provides only the lines from
the nsk_tools.h file:
$ grep "^-[^-]"
jdk12-jvmti12.patch | grep
-v "^-#endif$" | grep -v
"^-#ifdef __cplusplus$"
-#define
NSK_CPP_STUB1(Func,env)
(*env)->Func(env)
-#define
NSK_CPP_STUB2(Func,env,a)
(*env)->Func(env,a)
-#define
NSK_CPP_STUB3(Func,env,a,b)
(*env)->Func(env,a,b)
-#define
NSK_CPP_STUB4(Func,env,a,b,c)
(*env)->Func(env,a,b,c)
-#define
NSK_CPP_STUB5(Func,env,a,b,c,d)
(*env)->Func(env,a,b,c,d)
-#define
NSK_CPP_STUB6(Func,env,a,b,c,d,e)
(*env)->Func(env,a,b,c,d,e)
-#define
NSK_CPP_STUB7(Func,env,a,b,c,d,e,f)
(*env)->Func(env,a,b,c,d,e,f)
-#define
NSK_CPP_STUB8(Func,env,a,b,c,d,e,f,g)
(*env)->Func(env,a,b,c,d,e,f,g)
-#define
NSK_CPP_STUB9(Func,env,a,b,c,d,e,f,g,h)
(*env)->Func(env,a,b,c,d,e,f,g,h)
-#ifndef
NSK_CPP_STUBS_ENFORCE_C
-#undef
NSK_CPP_STUB1
-#undef
NSK_CPP_STUB2
-#undef
NSK_CPP_STUB3
-#undef
NSK_CPP_STUB4
-#undef
NSK_CPP_STUB5
-#undef
NSK_CPP_STUB6
-#undef
NSK_CPP_STUB7
-#undef
NSK_CPP_STUB8
-#undef
NSK_CPP_STUB9