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

On Thu, 2018-10-04 at 10:51 +0200, Jens Reimann wrote:
> 
> 
> On Thu, Oct 4, 2018 at 10:16 AM Hudalla Kai (INST/ECS4) <
> kai.hudalla@xxxxxxxxxxxx> wrote:
> > On Thu, 2018-10-04 at 09:31 +0200, Jens Reimann wrote:
> > > 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.
> > 
> > I am confused. Does this mean that you would be in favor of using OpenJDK 11
> > as
> > the runtime in our Docker images or not?
> 
> 
> Me too :)
> 
> Java 11 as a runtime: yes. Using actual Java 11 features: no.
> 
> I think, for the moment, it should still be possible to run Hono on a Java 8
> runtime.
> 

I agree :-)


>  
> > > 
> > > [1] https://github.com/fabric8io-images/s2i/issues/160
> > > 
> > > 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
> > > 
> > > 
> > > _______________________________________________
> > > 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

Back to the top