Re: Java min version for master sources?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why not have a separate minumum java version for development?

We could require Java 8 for the dev/build machines, but produce java 6 bytecode.

So for end users nothing changes (Java 6 still supported), but developers can make use of new java features.

Samuel

Am 21.05.19 um 11:45 schrieb Stephan Bergmann:
On 21/05/2019 11:15, Stephan Bergmann wrote:
Increasing the baseline should mainly be a compatible change, as old code (e.g., extensions) should continue to work with newer Java installations.  The only drawback is that code compiled against the newer baseline (e.g., the URE jars from our builds being distributed somewhere on the Maven infrastructure?) cannot be used with older Java installations.

...and of course we need to bump the minimal supported versions at jvmfwk/distributions/OpenOfficeorg/javavendors_*.xml (and bump the <updated> elements there, which entails the inconveniences discussed at <https://gerrit.libreoffice.org/plugins/gitiles/core/+/6b8a96c421bc4766ed6c11791174689da86fa703%5E!/> "Note when javavendors_*.xml <updated> should be updated").

And note that we bumped the baseline to Java 6 only rather recently, during the LO 6.3 timeframe, see <https://gerrit.libreoffice.org/plugins/gitiles/core/+/49c21e31ce0501044a7d3602379f74c71dabb00b%5E!/> "Javavendors: Set minimum version to 1.6" and <https://lists.freedesktop.org/archives/libreoffice/2019-February/081991.html> "Minutes of the ESC call 2019-02-07" section "bump java baseline to 1.6 (Samuel, Thorsten)".
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux