diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-05-15 20:30:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-05-15 23:29:12 +0200 |
commit | dd372b444f1f1821048e197768d5095e6204a102 (patch) | |
tree | 894d128e3b9b0e0a3cf51d82bedec516a5775e63 /.git-hooks | |
parent | 649593b5232beade06d279981c045c6388f9163a (diff) |
Avoid any false GCC -Wclobbered
...by moving the code that calls JNI_CreateJavaVM and the setjmp that it may
longjmp to (from abort_handler that may be called from within JNI_CreateJavaVM)
into its own small function. That way, no local variables in
jfw_plugin_startJavaVirtualMachine should produce any such false "variable might
be clobbered by ‘longjmp’ or ‘vfork’" GCC warnings any longer, and all the
workarounds to silence such warnings can be removed.
Change-Id: I6de134628e8efbf2d67fcd83a9cc2623b55762a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94330
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to '.git-hooks')
0 files changed, 0 insertions, 0 deletions