[Libreoffice-commits] core.git: jvmfwk/plugins

Stephan Bergmann sbergman at redhat.com
Tue Mar 27 20:29:01 UTC 2018


 jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec18927455416e34e5d1b315a698db09fc24c9d0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 27 17:38:22 2018 +0200

    Improve error reporting
    
    Change-Id: Ic990e00d14b083f35b44915de3b048a683f269f4
    Reviewed-on: https://gerrit.libreoffice.org/51962
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index 671ce5634f82..d02a43edacbc 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -822,7 +822,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
         if( err < 0)
         {
             fprintf(stderr,"[Java framework] sunjavaplugin" SAL_DLLEXTENSION
-                    "Can not create Java Virtual Machine\n");
+                    "Can not create Java Virtual Machine, %" SAL_PRIdINT32 "\n", sal_Int32(err));
             errorcode = javaPluginError::VmCreationFailed;
         }
         else if( err > 0)


More information about the Libreoffice-commits mailing list