office-gobmx/jvmfwk
Stephan Bergmann 269a161b38 tdf#129264: Make javaldx always print a line upon successful execution
...where "do not use a JRE" (implying that the printed line consists of just a
terminating newline) is a sufficient condition for a successful execution, too.

(Also, it appears that extend_library_path in desktop/unx/source/start.c would
have introduced unwanted empty segments into the path environment variable when
the line printed by javaldx consisted of just a terminating newline.)

Change-Id: Ic2f86de8a829b3dea51c0e4da1ac236298e16366
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97756
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-02 16:52:41 +02:00
..
distributions/OpenOfficeorg Bump Java baseline to Java 8 2019-07-26 14:26:59 +02:00
inc Drop the JVM "feature" concept support 2020-05-15 23:29:36 +02:00
plugins/sunmajor tdf#129264: Make javaldx always print a line upon successful execution 2020-07-02 16:52:41 +02:00
source Upcoming improved loplugin:staticanonymous -> redundantstatic: jvmfwk 2020-07-01 13:20:03 +02:00
CustomTarget_jreproperties.mk tdf#131572 Add java 9 module info for libreoffice.jar 2020-05-27 11:40:20 +02:00
CustomTarget_jvmfwk_jvmfwk3_ini.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
Executable_javaldx.mk gbuild: Remove MSVC 2013 legacy code 2017-04-21 18:18:44 +02:00
IwyuFilter_jvmfwk.yaml tdf#42949 Fix IWYU warnings in jvmfwk/ & jvmaccess/ 2019-04-26 14:54:54 +02:00
Library_jvmfwk.mk
Makefile
Module_jvmfwk.mk
Package_jreproperties.mk
Package_jvmfwk_jvmfwk3_ini.mk
Package_rcfiles.mk
README Note when javavendors_*.xml <updated> should be updated 2019-03-26 14:52:22 +01:00

Wrappers so you can use all the Java Runtime Environments with their slightly incompatible APIs with more ease.

Used to use an over-engineered "plugin" mechanism although there was only one
"plugin", called "sunmajor", that handles all possible JREs.

IMPORTANT:  The <updated> element in vmfwk/distributions/OpenOfficeorg/javavendors_*.xml files
should only be updated for incompatible changes, not for compatible ones.  As stated in the commit
message of <https://gerrit.libreoffice.org/#/c/69730/> "javavendors_*.xml <updated> should not have
been updated...":  "Changing <updated> causes jfw_startVM and jfw_getSelectedJRE (both
jvmfwk/source/framework.cxx) to fail with JFW_E_INVALID_SETTINGS, which in turn causes functionality
that requires a JVM to issue a GUI error dialog stating that the user must select a new JRE in the
Options dialog.  While that behavior makes sense if a JRE was selected that would no longer be
supported by the modified javavendors_*.xml, it is just annoying if an already selected JRE is still
supported.  And a compatible change to javavendors_*.xml implies that an already selected JRE will
still be supported."