You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Achim Nierbeck <bc...@googlemail.com> on 2017/01/04 12:25:35 UTC
Karaf 4.1 and JDK9
Hi,
got a question regarding Karaf 4.1 and JDK9 compatibility.
I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
Is it our goal to have Karaf 4.1 runnable with JDK9?
If so, the ops4j community just came across some major drawbacks.
First it just seemed like we just need to bump the version for ASM in
Pax-Web [1][2][3] and everything is smooth, but it's not.
It turned out we also need another upgrade for ASM 6 in Aries [4], but
again this isn't the only thing.
It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
Jetty 9.4 might be needed.
Again this turns out to be more complex then first anticipated.
As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6, but
still rely on version 5 [5].
Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
9.4.
So how do we handle JDK9 for Karaf 4.1?
Is it our main goal to support JDK9 from head start?
If the answer is yes, we need to do a lot more then what we've done so far.
Just to mention one thing that needs to be done instantly, have a build
which uses JDK9 to run our tests. That should already cover most of the
issues we came across.
Also I would like to hold back the release for 4.1 for a while to make sure
we have all project we or our users depend on straightened for JDK9.
regards, Achim
[1] - https://issues.apache.org/jira/browse/KARAF-4912
[2] - https://ops4j1.jira.com/browse/PAXWEB-1047
[3] - https://issues.apache.org/jira/browse/KARAF-4913
[4] - https://issues.apache.org/jira/browse/ARIES-1646
[5] -
https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-39702
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master
Re: Karaf 4.1 and JDK9
Posted by Andrea Cosentino <an...@yahoo.com.INVALID>.
+1.
It looks like we'll have a lot of work to do to have a full JDK9 support.
--
Andrea Cosentino
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1985@yahoo.com
Twitter: @oscerd2
Github: oscerd
On Wednesday, January 4, 2017 1:34 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
Hi Achim,
For Karaf 4.1, the purpose is not to fully support JDK9 but to start the
required improvements.
I plan to release Karaf 4.1.0 by the end of this week as it is, with
full JDK8 support, and JDK9 support preview (not fully tested).
I would consider the full JDK9 support for Karaf 4.2. I'm pretty sure
that other projects (Pax Web as you said, but also Aries Proxy) are not
fully ready, so, it's not really possible to announce a full JDK9 support.
My plan is to create the karaf-4.1.x branch tomorrow, and then, prepare
the full JDK9 support on master.
Thoughts ?
Regards
JB
On 01/04/2017 01:25 PM, Achim Nierbeck wrote:
> Hi,
>
> got a question regarding Karaf 4.1 and JDK9 compatibility.
> I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
> Is it our goal to have Karaf 4.1 runnable with JDK9?
> If so, the ops4j community just came across some major drawbacks.
>
> First it just seemed like we just need to bump the version for ASM in
> Pax-Web [1][2][3] and everything is smooth, but it's not.
>
> It turned out we also need another upgrade for ASM 6 in Aries [4], but
> again this isn't the only thing.
>
> It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
> Jetty 9.4 might be needed.
> Again this turns out to be more complex then first anticipated.
> As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6, but
> still rely on version 5 [5].
> Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
> 9.4.
>
> So how do we handle JDK9 for Karaf 4.1?
> Is it our main goal to support JDK9 from head start?
> If the answer is yes, we need to do a lot more then what we've done so far.
> Just to mention one thing that needs to be done instantly, have a build
> which uses JDK9 to run our tests. That should already cover most of the
> issues we came across.
> Also I would like to hold back the release for 4.1 for a while to make sure
> we have all project we or our users depend on straightened for JDK9.
>
>
> regards, Achim
>
> [1] - https://issues.apache.org/jira/browse/KARAF-4912
> [2] - https://ops4j1.jira.com/browse/PAXWEB-1047
> [3] - https://issues.apache.org/jira/browse/KARAF-4913
> [4] - https://issues.apache.org/jira/browse/ARIES-1646
> [5] -
> https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-39702
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf 4.1 and JDK9
Posted by Matt Sicker <bo...@gmail.com>.
There are way too many unready dependencies, agreed. Making JDK 9 a goal
for 4.2 sounds reasonable.
On 4 January 2017 at 07:10, Guillaume Nodet <gn...@apache.org> wrote:
> Agreed.
> Especially, things are still moving in the JDK land and we may expect
> additional breakages, so I would not hold Karaf 4.1 for that.
> We can't really claim to support Java 9 support before it's even released
> ;-)
>
> 2017-01-04 13:33 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
> > Hi Achim,
> >
> > For Karaf 4.1, the purpose is not to fully support JDK9 but to start the
> > required improvements.
> >
> > I plan to release Karaf 4.1.0 by the end of this week as it is, with full
> > JDK8 support, and JDK9 support preview (not fully tested).
> >
> > I would consider the full JDK9 support for Karaf 4.2. I'm pretty sure
> that
> > other projects (Pax Web as you said, but also Aries Proxy) are not fully
> > ready, so, it's not really possible to announce a full JDK9 support.
> >
> > My plan is to create the karaf-4.1.x branch tomorrow, and then, prepare
> > the full JDK9 support on master.
> >
> > Thoughts ?
> >
> > Regards
> > JB
> >
> >
> > On 01/04/2017 01:25 PM, Achim Nierbeck wrote:
> >
> >> Hi,
> >>
> >> got a question regarding Karaf 4.1 and JDK9 compatibility.
> >> I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
> >> Is it our goal to have Karaf 4.1 runnable with JDK9?
> >> If so, the ops4j community just came across some major drawbacks.
> >>
> >> First it just seemed like we just need to bump the version for ASM in
> >> Pax-Web [1][2][3] and everything is smooth, but it's not.
> >>
> >> It turned out we also need another upgrade for ASM 6 in Aries [4], but
> >> again this isn't the only thing.
> >>
> >> It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
> >> Jetty 9.4 might be needed.
> >> Again this turns out to be more complex then first anticipated.
> >> As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6,
> but
> >> still rely on version 5 [5].
> >> Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
> >> 9.4.
> >>
> >> So how do we handle JDK9 for Karaf 4.1?
> >> Is it our main goal to support JDK9 from head start?
> >> If the answer is yes, we need to do a lot more then what we've done so
> >> far.
> >> Just to mention one thing that needs to be done instantly, have a build
> >> which uses JDK9 to run our tests. That should already cover most of the
> >> issues we came across.
> >> Also I would like to hold back the release for 4.1 for a while to make
> >> sure
> >> we have all project we or our users depend on straightened for JDK9.
> >>
> >>
> >> regards, Achim
> >>
> >> [1] - https://issues.apache.org/jira/browse/KARAF-4912
> >> [2] - https://ops4j1.jira.com/browse/PAXWEB-1047
> >> [3] - https://issues.apache.org/jira/browse/KARAF-4913
> >> [4] - https://issues.apache.org/jira/browse/ARIES-1646
> >> [5] -
> >> https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=
> >> 39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3
> >> Acomment-tabpanel#comment-39702
> >>
> >>
> >>
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
>
> --
> ------------------------
> Guillaume Nodet
> ------------------------
> Red Hat, Open Source Integration
>
> Email: gnodet@redhat.com
> Web: http://fusesource.com
> Blog: http://gnodet.blogspot.com/
>
--
Matt Sicker <bo...@gmail.com>
Re: Karaf 4.1 and JDK9
Posted by Achim Nierbeck <bc...@googlemail.com>.
Ok, I'm rather fine with those perceptions,
In that case I'd revert the ASM 6.0 ALPHA dependencies for Pax-Web 6.0.1,
they're ALPHA right :)
and we will just call [1], as non fixable for 4.1, and post-pone this to a
4.2, with support for a Pax-Web 6.1.
In that case I'll just create a new 6.0.x branch for Pax-Web and will
change master to 6.1
This way a soon to be available 4.2 (master) SNAPSHOT version will take
care of it.
Any objections?
regards, Achim
[1] - https://issues.apache.org/jira/browse/KARAF-4912
2017-01-04 14:10 GMT+01:00 Guillaume Nodet <gn...@apache.org>:
> Agreed.
> Especially, things are still moving in the JDK land and we may expect
> additional breakages, so I would not hold Karaf 4.1 for that.
> We can't really claim to support Java 9 support before it's even released
> ;-)
>
> 2017-01-04 13:33 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>
> > Hi Achim,
> >
> > For Karaf 4.1, the purpose is not to fully support JDK9 but to start the
> > required improvements.
> >
> > I plan to release Karaf 4.1.0 by the end of this week as it is, with full
> > JDK8 support, and JDK9 support preview (not fully tested).
> >
> > I would consider the full JDK9 support for Karaf 4.2. I'm pretty sure
> that
> > other projects (Pax Web as you said, but also Aries Proxy) are not fully
> > ready, so, it's not really possible to announce a full JDK9 support.
> >
> > My plan is to create the karaf-4.1.x branch tomorrow, and then, prepare
> > the full JDK9 support on master.
> >
> > Thoughts ?
> >
> > Regards
> > JB
> >
> >
> > On 01/04/2017 01:25 PM, Achim Nierbeck wrote:
> >
> >> Hi,
> >>
> >> got a question regarding Karaf 4.1 and JDK9 compatibility.
> >> I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
> >> Is it our goal to have Karaf 4.1 runnable with JDK9?
> >> If so, the ops4j community just came across some major drawbacks.
> >>
> >> First it just seemed like we just need to bump the version for ASM in
> >> Pax-Web [1][2][3] and everything is smooth, but it's not.
> >>
> >> It turned out we also need another upgrade for ASM 6 in Aries [4], but
> >> again this isn't the only thing.
> >>
> >> It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
> >> Jetty 9.4 might be needed.
> >> Again this turns out to be more complex then first anticipated.
> >> As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6,
> but
> >> still rely on version 5 [5].
> >> Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
> >> 9.4.
> >>
> >> So how do we handle JDK9 for Karaf 4.1?
> >> Is it our main goal to support JDK9 from head start?
> >> If the answer is yes, we need to do a lot more then what we've done so
> >> far.
> >> Just to mention one thing that needs to be done instantly, have a build
> >> which uses JDK9 to run our tests. That should already cover most of the
> >> issues we came across.
> >> Also I would like to hold back the release for 4.1 for a while to make
> >> sure
> >> we have all project we or our users depend on straightened for JDK9.
> >>
> >>
> >> regards, Achim
> >>
> >> [1] - https://issues.apache.org/jira/browse/KARAF-4912
> >> [2] - https://ops4j1.jira.com/browse/PAXWEB-1047
> >> [3] - https://issues.apache.org/jira/browse/KARAF-4913
> >> [4] - https://issues.apache.org/jira/browse/ARIES-1646
> >> [5] -
> >> https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=
> >> 39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3
> >> Acomment-tabpanel#comment-39702
> >>
> >>
> >>
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
>
>
>
> --
> ------------------------
> Guillaume Nodet
> ------------------------
> Red Hat, Open Source Integration
>
> Email: gnodet@redhat.com
> Web: http://fusesource.com
> Blog: http://gnodet.blogspot.com/
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master
Re: Karaf 4.1 and JDK9
Posted by Guillaume Nodet <gn...@apache.org>.
Agreed.
Especially, things are still moving in the JDK land and we may expect
additional breakages, so I would not hold Karaf 4.1 for that.
We can't really claim to support Java 9 support before it's even released
;-)
2017-01-04 13:33 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Achim,
>
> For Karaf 4.1, the purpose is not to fully support JDK9 but to start the
> required improvements.
>
> I plan to release Karaf 4.1.0 by the end of this week as it is, with full
> JDK8 support, and JDK9 support preview (not fully tested).
>
> I would consider the full JDK9 support for Karaf 4.2. I'm pretty sure that
> other projects (Pax Web as you said, but also Aries Proxy) are not fully
> ready, so, it's not really possible to announce a full JDK9 support.
>
> My plan is to create the karaf-4.1.x branch tomorrow, and then, prepare
> the full JDK9 support on master.
>
> Thoughts ?
>
> Regards
> JB
>
>
> On 01/04/2017 01:25 PM, Achim Nierbeck wrote:
>
>> Hi,
>>
>> got a question regarding Karaf 4.1 and JDK9 compatibility.
>> I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
>> Is it our goal to have Karaf 4.1 runnable with JDK9?
>> If so, the ops4j community just came across some major drawbacks.
>>
>> First it just seemed like we just need to bump the version for ASM in
>> Pax-Web [1][2][3] and everything is smooth, but it's not.
>>
>> It turned out we also need another upgrade for ASM 6 in Aries [4], but
>> again this isn't the only thing.
>>
>> It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
>> Jetty 9.4 might be needed.
>> Again this turns out to be more complex then first anticipated.
>> As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6, but
>> still rely on version 5 [5].
>> Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
>> 9.4.
>>
>> So how do we handle JDK9 for Karaf 4.1?
>> Is it our main goal to support JDK9 from head start?
>> If the answer is yes, we need to do a lot more then what we've done so
>> far.
>> Just to mention one thing that needs to be done instantly, have a build
>> which uses JDK9 to run our tests. That should already cover most of the
>> issues we came across.
>> Also I would like to hold back the release for 4.1 for a while to make
>> sure
>> we have all project we or our users depend on straightened for JDK9.
>>
>>
>> regards, Achim
>>
>> [1] - https://issues.apache.org/jira/browse/KARAF-4912
>> [2] - https://ops4j1.jira.com/browse/PAXWEB-1047
>> [3] - https://issues.apache.org/jira/browse/KARAF-4913
>> [4] - https://issues.apache.org/jira/browse/ARIES-1646
>> [5] -
>> https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=
>> 39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3
>> Acomment-tabpanel#comment-39702
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration
Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/
Re: Karaf 4.1 and JDK9
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Achim,
For Karaf 4.1, the purpose is not to fully support JDK9 but to start the
required improvements.
I plan to release Karaf 4.1.0 by the end of this week as it is, with
full JDK8 support, and JDK9 support preview (not fully tested).
I would consider the full JDK9 support for Karaf 4.2. I'm pretty sure
that other projects (Pax Web as you said, but also Aries Proxy) are not
fully ready, so, it's not really possible to announce a full JDK9 support.
My plan is to create the karaf-4.1.x branch tomorrow, and then, prepare
the full JDK9 support on master.
Thoughts ?
Regards
JB
On 01/04/2017 01:25 PM, Achim Nierbeck wrote:
> Hi,
>
> got a question regarding Karaf 4.1 and JDK9 compatibility.
> I've seen we had numerous issues regarding JDK9 for Karaf 4.1.
> Is it our goal to have Karaf 4.1 runnable with JDK9?
> If so, the ops4j community just came across some major drawbacks.
>
> First it just seemed like we just need to bump the version for ASM in
> Pax-Web [1][2][3] and everything is smooth, but it's not.
>
> It turned out we also need another upgrade for ASM 6 in Aries [4], but
> again this isn't the only thing.
>
> It turns out, Jetty 9.3.x isn't compatible with JDK9, so an upgrade to
> Jetty 9.4 might be needed.
> Again this turns out to be more complex then first anticipated.
> As it turns out, neither Jetty 9.3 nor 9.4 are ready to go for ASM 6, but
> still rely on version 5 [5].
> Not to speak of the need to bump Pax-Web to version 6.1 for using Jetty
> 9.4.
>
> So how do we handle JDK9 for Karaf 4.1?
> Is it our main goal to support JDK9 from head start?
> If the answer is yes, we need to do a lot more then what we've done so far.
> Just to mention one thing that needs to be done instantly, have a build
> which uses JDK9 to run our tests. That should already cover most of the
> issues we came across.
> Also I would like to hold back the release for 4.1 for a while to make sure
> we have all project we or our users depend on straightened for JDK9.
>
>
> regards, Achim
>
> [1] - https://issues.apache.org/jira/browse/KARAF-4912
> [2] - https://ops4j1.jira.com/browse/PAXWEB-1047
> [3] - https://issues.apache.org/jira/browse/KARAF-4913
> [4] - https://issues.apache.org/jira/browse/ARIES-1646
> [5] -
> https://ops4j1.jira.com/browse/PAXWEB-1047?focusedCommentId=39702&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-39702
>
>
--
Jean-Baptiste Onofr�
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com