Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Upgrade to Java 11

Well I am a little bit torn apart. Yes, I would like to switch to Java 11 right away. Just because it is the newest one. then again we currently would have issues with the OpenShift S2I deployment as those images still have Java 8 on board. There is an issue for that [1], but I think it needs some more time.

I think it is fine to switch to Java 11 as a runtime, but not at the compiler level. So we can't use all the cool stuff, right away, but we could switch back to JRE 8 as a runtime.


On Tue, Oct 2, 2018 at 5:54 PM Frank Karsten (INST/ECS4) <Karsten.Frank2@xxxxxxxxxxxx> wrote:
> > At least for the docker images - regarding the language level I would
> > quite like to have Java 9 features available,
>
> Can you give an example of such a feature?

Yes - I am thinking of the extension to the quite limited Optional class of Java 8.
Beginning with Java 9 there are several extensions, especially the ifPresentOrElse method I would like to use sometimes.

Mit freundlichen Grüßen / Best regards

 Karsten Frank

(INST/ECS4)
Bosch Software Innovations GmbH | Ullsteinstr. 128 | 12109 Berlin | GERMANY | www.bosch-si.com
Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411 B
Aufsichtsratsvorsitzender: Dr.-Ing. Thorsten Lücke; Geschäftsführung: Dr. Stefan Ferber, Michael Hahn




> -----Original Message-----
> From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> On
> Behalf Of Hudalla Kai (INST/ECS4)
> Sent: Dienstag, 2. Oktober 2018 17:48
> To: hono-dev@xxxxxxxxxxx
> Subject: Re: [hono-dev] Upgrade to Java 11
>
> On Tue, 2018-10-02 at 13:34 +0000, Frank Karsten (INST/ECS4) wrote:
> > Hi everyone,
> >
> > I cannot see any specific reason to not change to OpenJDK 11.
> >
> > At least for the docker images - regarding the language level I would
> > quite like to have Java 9 features available,
>
> Can you give an example of such a feature?
>
> > but maybe we should delay that step further?
> >
> >
> > Mit freundlichen Grüßen / Best regards
> >
> >  Karsten Frank
> >
> > (INST/ECS4)
> > Bosch Software Innovations GmbH | Ullsteinstr. 128 | 12109 Berlin |
> > GERMANY | www.bosch-si.com
> >
> > Sitz: Berlin, Registergericht: Amtsgericht Charlottenburg; HRB 148411
> > B
> > Aufsichtsratsvorsitzender: Dr.-Ing. Thorsten Lücke; Geschäftsführung: Dr.
> > Stefan Ferber, Michael Hahn
> >
> >
> >
> > > -----Original Message-----
> > > From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> On
> > > Behalf Of Hudalla Kai (INST/ECS4)
> > > Sent: Dienstag, 2. Oktober 2018 13:38
> > > To: hono-dev@xxxxxxxxxxx
> > > Subject: [hono-dev] Upgrade to Java 11
> > >
> > > Hi list,
> > >
> > > Jens had added support for building Hono using a version 10/11 JDK
> > > some while ago. As part of that effort, we now also run our
> > > integration tests using Maven on Travis using a version 10 JRE.
> > > However, we didn't upgrade the JRE used in our Docker images yet.
> > >
> > > Are there any specific reasons that should prevent us from starting
> > > to use e.g.
> > > OpenJDK 11 in our Docker images? Please note that we are still using
> > > Java 8 as the source and target level in our build, so all jars we
> > > publish on Maven Central can still be run using a version 8 JRE ...
> > >
> > > --
> > > Mit freundlichen Grüßen / Best regards
> > >
> > > Kai Hudalla
> > > Chief Software Architect
> > >
> > > Bosch Software Innovations GmbH
> > > Ullsteinstr. 128
> > > 12109 Berlin
> > > GERMANY
> > > www.bosch-si.com
> > >
> > > Registered Office: Berlin, Registration Court: Amtsgericht
> > > Charlottenburg; HRB
> > > 148411 B
> > > Chairman of the Supervisory Board: Dr.-Ing. Thorsten Lücke; Managing
> > > Directors:
> > > Dr. Stefan Ferber, Michael Hahn
> > >
> > > _______________________________________________
> > > hono-dev mailing list
> > > hono-dev@xxxxxxxxxxx
> > > To change your delivery options, retrieve your password, or
> > > unsubscribe from this list, visit
> > > https://dev.eclipse.org/mailman/listinfo/hono-dev
> >
> > _______________________________________________
> > hono-dev mailing list
> > hono-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/hono-dev
> _______________________________________________
> hono-dev mailing list
> hono-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this
> list, visit https://dev.eclipse.org/mailman/listinfo/hono-dev
_______________________________________________
hono-dev mailing list
hono-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/hono-dev


--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill

Back to the top