We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b8515 commit 36be514Copy full SHA for 36be514
module/ngx_http_java_module/java.cpp
@@ -91,9 +91,19 @@ namespace hi
91
this->args.version = JNI_VERSION_9;
92
break;
93
#endif
94
- default:
95
#ifdef JNI_VERSION_10
+ case 10:
96
this->args.version = JNI_VERSION_10;
97
+ break;
98
+#endif
99
+#ifdef JNI_VERSION_19
100
+ case 19:
101
+ this->args.version = JNI_VERSION_19;
102
103
104
+ default:
105
+#ifdef JNI_VERSION_20
106
+ this->args.version = JNI_VERSION_20;
107
#else
108
this->args.version = JNI_VERSION_1_8;
109
0 commit comments