JDK 11

236 views
Skip to first unread message

Christophe Bornet

unread,
Sep 17, 2018, 8:30:05 AM9/17/18
to JHipster dev team
Hi everyone,

Java 11 is around the corner with a release next week if I'm not mistaken. Has anyone tested JHipster with an early build ?
I think it's time to support an option for it. And we could also leverage type inference to simplify the generated code.
All the more so as the deadline for Java 8 support is IMO very short (January 2019)
WDYT ?

Christophe

Matt Raible

unread,
Sep 17, 2018, 8:48:51 AM9/17/18
to Christophe Bornet, JHipster dev team
I’d love to see us support JDK 11 out of the box. Spring Boot 2.0.1 works with Java 10 and Java 11 works with 2.1.0.M2.


I think most of the problems are due to Maven and Gradle plugins.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CAE8RvoXxJy2oDGsi0Cb6pRwcV9T%3DiBG4JU1e_eR48mXsXfe8BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Christophe Bornet

unread,
Sep 17, 2018, 9:16:11 AM9/17/18
to Matt Raible, JHipster dev team
So that means we need to wait for SB 2.1 ? The release date is the 29th of October for this one so maybe it's too soon to start to migrate (RC1 is for 15th of October).

Daniel Franco

unread,
Sep 17, 2018, 9:59:10 AM9/17/18
to Christophe Bornet, Matt Raible, JHipster dev team
To migrate to Java 11 we need spring-boot 2.1.

To migrate to SB 2.1 we have some dependencies:
- Infinispan migration to 9.x: who can lead this migration?
- spring-security-oauth2-autoconfigure: I requested the author to align with spring-boot milestone, so it should not be a problem because he accepted: https://github.com/spring-projects/spring-security-oauth2-boot/milestones
- spring-data-jest: I requested the author to align with spring-boot milestone and I am waiting his feedback, otherwise this can be an issue for elasticsearch migration: https://github.com/VanRoy/spring-data-jest/issues/55
- ehcache impacts: already take care of the issue
- ...

Daniel Franco

Christophe Bornet

unread,
Sep 17, 2018, 10:28:15 AM9/17/18
to dandr...@gmail.com, Matt Raible, JHipster dev team
Great to see you've already done so much on the subject ! It's indeed a good idea to check if all our dependencies will be ready for the migration !

Pierre BESSON

unread,
Sep 17, 2018, 11:40:22 AM9/17/18
to Christophe Bornet, dandr...@gmail.com, Matt Raible, JHipster dev team
Maybe we can plan a December or January release of JHipster 6 with Java 11, Spring reactive, VueJS, etc... At this point we will totally drop support for Java 8 or provide a legacy option depending on what people want.

Deepu K Sasidharan

unread,
Sep 17, 2018, 12:47:04 PM9/17/18
to Pierre BESSON, Christophe Bornet, Daniel Franco, Matt Raible, JHipster dev team
December/January is too ambitious man :)

Thanks & Regards,
Deepu


Christophe Bornet

unread,
Sep 17, 2018, 2:20:35 PM9/17/18
to Deepu K Sasidharan, Pierre BESSON, Daniel Franco, Matt Raible, JHipster dev team
Yet January is EOL for Java8... Not like we have much choice...

Joe Kutner

unread,
Sep 17, 2018, 2:33:21 PM9/17/18
to Christophe Bornet, Deepu K Sasidharan, Pierre BESSON, Daniel Franco, Matt Raible, JHipster dev team
Jan 2019 is Oracle's "Commercial User End of Public Updates". Oracle's "Personal User End of Public Updates" is not until Dec 2020, and we can expect that the OpenJDK community will continue to support Java 8 a long time (Icedtea is still pumping out Java 6 and 7).

I don't think Oracle's plans should influence JHipster (unless you want to use it as a public excuse to upgrade to JDK 11, which I think is reasonable).

Either way, be aware that it may have an impact on JHipster adoption--the trick is figuring out which side of the deal to be on :)

To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

Christophe Bornet

unread,
Sep 17, 2018, 6:57:48 PM9/17/18
to Joe Kutner, Deepu K Sasidharan, Pierre BESSON, Daniel Franco, Matt Raible, JHipster dev team
We are hipsters, we use Java 11 ;-)

To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

Christophe Bornet

unread,
Sep 17, 2018, 7:00:56 PM9/17/18
to JHipster dev team
More seriously, I think it can be an option at first. Just like we did during the Java 7 to 8 transition.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

Deepu K Sasidharan

unread,
Sep 20, 2018, 3:44:20 AM9/20/18
to Christophe Bornet, JHipster dev team
Btw this is interesting, java 8 is still the most used

To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

Zs.

unread,
Sep 20, 2018, 8:31:07 AM9/20/18
to Deepu K Sasidharan, Christophe Bornet, JHipster dev team
Everyone waits for Java 11, as 9 and 10 is not a long term release, no one supports it...

sendilkumarn.opensource

unread,
Sep 21, 2018, 5:56:00 AM9/21/18
to JHipster dev team
I think it is also a good time to modularize using "Modules". I know it is a huge work but we should also start thinking about it sooner

Cheers
Sendil 
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/3b18df19-2582-4039-a066-69018e6d77fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.

Christophe Bornet

unread,
Sep 21, 2018, 6:19:36 AM9/21/18
to Sendil Kumar N, JHipster dev team
Well, I have mixed feelings about modules...

To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/3b18df19-2582-4039-a066-69018e6d77fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.

To post to this group, send email to jhipst...@googlegroups.com.

Gaël Marziou

unread,
Sep 21, 2018, 1:34:22 PM9/21/18
to JHipster dev team
Personally, I don't understand yet the benefits of modules for an application, I can understand them for a library or framework though.
So for JHipster as an application generator, I'm afraid it could make generated code more difficult to manage for our users but I may change my mind after having used modules in a project.

Cheers,
Gael

Ray Tsang

unread,
Oct 2, 2018, 6:43:55 AM10/2/18
to Gaël Marziou, JHipster dev team
I updated to Java 11 as my default JVM, but JHipster didn't build due to strict Java version enforcement.

While full Java 11 support would be difficult, will it be possible to at least support compilation from JDK 11, but still use source/target of 1.8?

Agreed that we probably don't want modules yet.. classpath feels just fine :)

Cheers,

--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.

Julien Dubois

unread,
Oct 3, 2018, 4:51:03 AM10/3/18
to satu...@gmail.com, Gaël Marziou, JHipster dev team
I haven't tested at all, for me we needed to wait for Spring Boot 2.1 to support JDK 11... But yes that should be one of our top priorities - is there anything preventing us from allowing JDK 11 builds?


For more options, visit https://groups.google.com/d/optout.


--
Julien Dubois

Twitter: @juliendubois

Christophe Bornet

unread,
Oct 29, 2018, 8:48:10 AM10/29/18
to Julien Dubois, satu...@gmail.com, Gaël Marziou, jhipst...@googlegroups.com
Some update : to migrate, we might have to wait for Spring-Cloud Greenwich which is planned for mid-december (with a RC mid-november) : https://twitter.com/MGrzejszczak/status/1056885692457013248

Reply all
Reply to author
Forward
0 new messages