So, the vote closes with 6 +1 votes.

Next I’ll update the build to no longer produce Java 8

Chris

Von: Łukasz Dywicki <l...@code-house.org>
Datum: Mittwoch, 13. Dezember 2023 um 11:35
An: dev@plc4x.apache.org <dev@plc4x.apache.org>, Jinlin Hong 
<myhongjin...@gmail.com>
Betreff: Re: [VOTE] Drop Java 1.8 Support
+1 to drop Java 8 compilation and stick with Java 11 as minimum.

To explain - there are slight differences in java standard library which
make this move not only about bytecode. Its about classpath which will
vary and miss/add some useful parts.

I did use Apache PLC4X initially with some openHAB 2.x bindings which
had to run on Java 1.8.
However, that version of openHAB had its last patch release almost 3
years ago (2.5.12 - January 2021), if we look at 2.5 release itself, it
was conducted on December 2019. It was 5 years ago. The openHAB
community have no plans to maintain this release beyond, and next major
which we baseline at connectorio (3.x) runs on Java 11. Most recent
openHAB release is 4.0 (4.1 about to come this December), both run
exclusively on Java 17.

As you see - other open source projects are done with Java 8 for couple
of years already. We are far behind "bleeding edge".
Looking at the dates - Java 8 was released on 18th March 2014, almost 10
years ago. It is about a time to get one level up, especially that we
effectively reached industry 10 year lifetime. ;-)

Cheers,
Łukasz

On 11.12.2023 07:12, Jinlin Hong wrote:
> +1
>
> Lukas Ott <ott.lukas...@gmail.com> 於 2023年12月11日 週一 下午2:03寫道:
>
>> +1
>>
>> Otto Fowler <ottobackwa...@gmail.com> schrieb am Mo., 11. Dez. 2023,
>> 04:26:
>>
>>>   +1 binding
>>>
>>> On December 8, 2023 at 9:16:19 AM, Christofer Dutz (
>>> christofer.d...@c-ware.de) wrote:
>>>
>>> Hi all,
>>>
>>> in the past we have settled with requiring Java 11 for building plc4x and
>>> making sure the libraries we build are compatible with Java 1.8.
>>> Now it looks as if some of our libraries are no longer runnable on Java
>> 1.8
>>> and we would need one of the following two options:
>>>
>>>
>>> 1. Re-Enable the animal-sniffer-plugin to ensure binary compatability
>> with
>>> Java 1.8 and fix the location in the code
>>> 2. We officially drop Java 1.8 support
>>>
>>> As we like to vote with “+1” and “-1”, I therefore start this vote as:
>>>
>>> Do we want to officially drop Java 11 support?
>>>
>>> Chris
>>>
>>
>

Reply via email to