summaryrefslogtreecommitdiff
path: root/src/bindings/java/JavaSockets.cxx
AgeCommit message (Collapse)Author
2023-08-02Fix: Incorrect type for parameter 'net_id', which should have type 'jlong'.Brenton Bostick
Incorrect return type uint64_t, which should have been jlong. Incorrect return type uint64_t, which should have been jlong. Incorrect return type uint64_t, which should have been jlong.
2023-07-20Merge pull request #231 from zerotier/brenton/fix-return-type-warningsJoseph Henry
fix return type warnings
2023-07-20Merge pull request #232 from zerotier/brenton/fix-missing-jni-functionJoseph Henry
fix: Cannot resolve corresponding JNI function Java_com_zerotier_sock…
2023-07-19fix return type warningsBrenton Bostick
Not any of these functions are used in ZeroTierNative.java libzt/src/bindings/java/JavaSockets.cxx:600:1: warning: non-void function does not return a value [-Wreturn-type] libzt/src/bindings/java/JavaSockets.cxx:620:1: warning: non-void function does not return a value [-Wreturn-type] libzt/src/bindings/java/JavaSockets.cxx:629:1: warning: non-void function does not return a value [-Wreturn-type] libzt/src/bindings/java/JavaSockets.cxx:638:1: warning: non-void function does not return a value [-Wreturn-type]
2023-07-19fix: Cannot resolve corresponding JNI function ↵Brenton Bostick
Java_com_zerotier_sockets_ZeroTierNative_zts_1net_1get_1mac.
2023-07-19fix unused warningsBrenton Bostick
libzt/src/bindings/java/JavaSockets.cxx:40:10: warning: unused variable 'rs' [-Wunused-variable] libzt/src/Events.cpp:185:14: warning: unused variable 'rs' [-Wunused-variable] libzt/src/Events.cpp:189:18: warning: unused variable 'arg' [-Wunused-variable] libzt/src/NodeService.cpp:1064:17: warning: variable 'err' set but not used [-Wunused-but-set-variable]
2023-05-26Fix warning about function never usedBrenton Bostick
The practice of appending "__" with type signature allows for references overloaded methods. But there is only a single zts_bsd_write method, so just remove.
2023-05-26Merge pull request #217 from zerotier/brenton/fix-bad-paramJoseph Henry
fix bad parameter
2023-05-26Merge pull request #216 from zerotier/brenton/fix-stray-getfieldidJoseph Henry
fix stray GetFieldID
2023-05-25fix stray GetFieldIDBrenton Bostick
2023-05-25fix bad parameterBrenton Bostick
2023-05-25fix: Incorrect type for parameter 'thisObj', which should have type 'jclass'.Brenton Bostick
2021-05-18Add ZeroTierDatagramSocket and ZeroTierServerSocket to Java wrapperJoseph Henry
2021-05-05Slight re-org of C API naming conventionJoseph Henry
2021-04-29Add WIP Java language bindingsJoseph Henry