tree: 8c837bbc2ee8eb5e23fc0e71c6395aefdf0e4ba9 [path history] [tgz]
  1. distributions/
  2. inc/
  3. plugins/
  4. qa/
  5. source/
  6. CppunitTest_jvmfwk_sunversion.mk
  7. CustomTarget_jreproperties.mk
  8. CustomTarget_jvmfwk_jvmfwk3_ini.mk
  9. Executable_javaldx.mk
  10. IwyuFilter_jvmfwk.yaml
  11. Library_jvmfwk.mk
  12. Makefile
  13. Module_jvmfwk.mk
  14. Package_jreproperties.mk
  15. Package_jvmfwk_jvmfwk3_ini.mk
  16. Package_rcfiles.mk
  17. README.md
jvmfwk/README.md

JVM Framework Wrappers

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/ in LibreOffice gerrit:

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."