diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-02-05 17:34:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-02-06 11:16:42 +0100 |
commit | 75c21f5a9298b8fa6ea6e8b6ae9f6bd59c442b36 (patch) | |
tree | 973135ab49553b634a9feee00705e62bf52bb2f2 /osx | |
parent | 6fe261ea098c0e59c19307380de2b2c1d51895cc (diff) |
Be more verbose about JNI errors at least with --enable-dbgutil
("The Java Native Interface" by Sheng Liang, Addison-Wesley 1999, states on
page 211: "This function [ExceptionDescribe] has the side effect of clearing
the pending exception." And since Java 10, the documentation of
ExceptionDescription at <https://docs.oracle.com/javase/10/docs/specs/jni/
functions.html#exceptiondescribe> states that "[t]he pending exception is
cleared as a side-effect of calling this function", even though for Java 8
<https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/functions.html#
ExceptionDescribe> does not mention that. So assume that calling
ExceptionDescribe always makes calling ExceptionClear superfluous.)
Change-Id: I4f89eb44768d436a224d7027afb5e7a93f092f29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88050
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'osx')
0 files changed, 0 insertions, 0 deletions