Thad House
|
78995f5cca
|
Fixes SetIntArrayRegion template for windows builds (#178)
|
2017-01-02 22:29:56 -08:00 |
|
Peter Johnson
|
df7d3261c9
|
JStringRef: ensure string is null terminated so c_str() works correctly.
|
2016-12-26 14:13:15 -08:00 |
|
Peter Johnson
|
c091d74de4
|
jni_util: Add JException wrapper class.
This allows more natural C++ Throw semantics (for a variety of string
data types) for any java exception that just takes a String argument.
|
2016-12-15 21:54:36 -08:00 |
|
Peter Johnson
|
8c2a148ed1
|
jni_util: Make JStringRef and JArrayRef null-safe.
They return empty string and empty array (to avoid crashes) but also
report an error with backtrace to stderr when called in that manner.
|
2016-12-14 23:59:06 -08:00 |
|
Peter Johnson
|
6fbaf57b99
|
jni_util: Add GetJavaStackTrace.
|
2016-12-14 23:59:02 -08:00 |
|
Peter Johnson
|
2df00647d5
|
Make JLocal and JArrayRef movable but non-copyable.
|
2016-12-14 23:29:23 -08:00 |
|
Peter Johnson
|
99395273c7
|
Fix JArrayRef DirectBuffer destructor.
Previously it would try to release array elements even if the DirectBuffer
constructor was used.
|
2016-12-14 23:29:23 -08:00 |
|
Peter Johnson
|
ce7611562f
|
Make JClass more useful and use it in ntcore JNI.
|
2016-12-14 23:29:18 -08:00 |
|
Thad House
|
dc94a3fac9
|
Adds a size parameter to JStringRef (#152)
Want to use that for some allwpilib JNI cleanups and potential bug fixes
|
2016-11-07 19:35:48 -08:00 |
|
Peter Johnson
|
94c2b65798
|
Refactor JNI helpers into wpiutil (support/jni_util.h). (#105)
|
2016-09-25 19:29:17 -07:00 |
|