Quantcast

[DISCUSS] Artemis JDK9 support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[DISCUSS] Artemis JDK9 support

christopher.l.shannon
Has anyone tested against JDK9 builds yet to see if everything works?  JDK9
final is due out in July so we should probably make sure Artemis is
compatible.  I think the Apache Jenkins server has a JDK9 profile we can
test against.

If we do need to make some changes for compatibility then we should
probably target that for the 2.2 release.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

clebertsuconic
I will run the testsuite on my box and will let you know the results.
It takes some time.. probably 4 hours (including some time I will need
to set it up).

On Tue, May 9, 2017 at 9:17 AM, Christopher Shannon
<[hidden email]> wrote:
> Has anyone tested against JDK9 builds yet to see if everything works?  JDK9
> final is due out in July so we should probably make sure Artemis is
> compatible.  I think the Apache Jenkins server has a JDK9 profile we can
> test against.
>
> If we do need to make some changes for compatibility then we should
> probably target that for the 2.2 release.



--
Clebert Suconic
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

nigro_franz
In reply to this post by christopher.l.shannon
I need to try it, but I've not good omen on it due to JigSaw and a partial sun.misc.Unsafe removal that could limit the usage of Netty and/or other parts of the Artemis code base (eg https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

clebertsuconic
I can't run maven install with the early access JDK. Something will
need to be changed on the poms?

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 7.948 s

[INFO] Finished at: 2017-05-09T10:34:41-04:00

[INFO] Final Memory: 40M/132M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project artemis-commons: Fatal error compiling:
CompilerException: InvocationTargetException:
java.nio.file.NotDirectoryException:
/var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]



I won't be able to get much further from that.


But we won't be able to use JDK9 unless Netty gets around the Unsafe usage.

On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]> wrote:

> I need to try it, but I've not good omen on it due to JigSaw and a partial
> sun.misc.Unsafe removal that could limit the usage of Netty and/or other
> parts of the Artemis code base (eg
> https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49)
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



--
Clebert Suconic
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

christopher.l.shannon
Alright, well I just wanted to make sure we were tracking it on it is on
the radar.  We can try it out when Netty is updated.

I'll need to test out 5.x on JDK 9 as well.

On Tue, May 9, 2017 at 10:38 AM, Clebert Suconic <[hidden email]>
wrote:

> I can't run maven install with the early access JDK. Something will
> need to be changed on the poms?
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] BUILD FAILURE
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [INFO] Total time: 7.948 s
>
> [INFO] Finished at: 2017-05-09T10:34:41-04:00
>
> [INFO] Final Memory: 40M/132M
>
> [INFO] ------------------------------------------------------------
> ------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project artemis-commons: Fatal error compiling:
> CompilerException: InvocationTargetException:
> java.nio.file.NotDirectoryException:
> /var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]
>
>
>
> I won't be able to get much further from that.
>
>
> But we won't be able to use JDK9 unless Netty gets around the Unsafe usage.
>
> On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]> wrote:
> > I need to try it, but I've not good omen on it due to JigSaw and a
> partial
> > sun.misc.Unsafe removal that could limit the usage of Netty and/or other
> > parts of the Artemis code base (eg
> > https://github.com/apache/activemq-artemis/blob/master/
> artemis-commons/src/main/java/org/apache/activemq/artemis/
> utils/Env.java#L49)
> >
> >
> >
> > --
> > View this message in context: http://activemq.2283324.n4.
> nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
>
> --
> Clebert Suconic
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

Jiri Danek
In reply to this post by christopher.l.shannon
On Tue, May 9, 2017 at 3:17 PM, Christopher Shannon <
[hidden email]> wrote:

> Has anyone tested against JDK9 builds yet to see if everything works?


I've tried this in March, see the last comment under
https://issues.apache.org/jira/browse/ARTEMIS-683. I was not able to
compile Artemis back then under JDK9. Maven logs are attached in the issue.

I cannot recall if I tried to run existing distribution or not. Probably
not.
--
Jiří Daněk
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

John D. Ament
In reply to this post by clebertsuconic
Clebert,

Was this on your personal jenkins?  ASF Jenkins has Java 9 so we can try it
there if you want.

John


On Tue, May 9, 2017 at 10:38 AM Clebert Suconic <[hidden email]>
wrote:

> I can't run maven install with the early access JDK. Something will
> need to be changed on the poms?
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 7.948 s
>
> [INFO] Finished at: 2017-05-09T10:34:41-04:00
>
> [INFO] Final Memory: 40M/132M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project artemis-commons: Fatal error compiling:
> CompilerException: InvocationTargetException:
> java.nio.file.NotDirectoryException:
> /var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]
>
>
>
> I won't be able to get much further from that.
>
>
> But we won't be able to use JDK9 unless Netty gets around the Unsafe usage.
>
> On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]> wrote:
> > I need to try it, but I've not good omen on it due to JigSaw and a
> partial
> > sun.misc.Unsafe removal that could limit the usage of Netty and/or other
> > parts of the Artemis code base (eg
> >
> https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49
> )
> >
> >
> >
> > --
> > View this message in context:
> http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>
>
> --
> Clebert Suconic
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

clebertsuconic
I was trying on a server command line

And also tried my personal Jenkins.  Both same error.



On Tue, May 9, 2017 at 12:48 PM John D. Ament <[hidden email]>
wrote:

> Clebert,
>
> Was this on your personal jenkins?  ASF Jenkins has Java 9 so we can try it
> there if you want.
>
> John
>
>
> On Tue, May 9, 2017 at 10:38 AM Clebert Suconic <[hidden email]
> >
> wrote:
>
> > I can't run maven install with the early access JDK. Something will
> > need to be changed on the poms?
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Total time: 7.948 s
> >
> > [INFO] Finished at: 2017-05-09T10:34:41-04:00
> >
> > [INFO] Final Memory: 40M/132M
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> > (default-compile) on project artemis-commons: Fatal error compiling:
> > CompilerException: InvocationTargetException:
> > java.nio.file.NotDirectoryException:
> > /var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]
> >
> >
> >
> > I won't be able to get much further from that.
> >
> >
> > But we won't be able to use JDK9 unless Netty gets around the Unsafe
> usage.
> >
> > On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]>
> wrote:
> > > I need to try it, but I've not good omen on it due to JigSaw and a
> > partial
> > > sun.misc.Unsafe removal that could limit the usage of Netty and/or
> other
> > > parts of the Artemis code base (eg
> > >
> >
> https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49
> > )
> > >
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
> > > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
> >
> >
> > --
> > Clebert Suconic
> >
>
--
Clebert Suconic
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

tabish121@gmail.com
In reply to this post by clebertsuconic
That looks to be related to error-prone:
https://github.com/google/error-prone/issues/448

On 05/09/2017 10:38 AM, Clebert Suconic wrote:

> I can't run maven install with the early access JDK. Something will
> need to be changed on the poms?
>
> [INFO] ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO] ------------------------------------------------------------------------
>
> [INFO] Total time: 7.948 s
>
> [INFO] Finished at: 2017-05-09T10:34:41-04:00
>
> [INFO] Final Memory: 40M/132M
>
> [INFO] ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project artemis-commons: Fatal error compiling:
> CompilerException: InvocationTargetException:
> java.nio.file.NotDirectoryException:
> /var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]
>
>
>
> I won't be able to get much further from that.
>
>
> But we won't be able to use JDK9 unless Netty gets around the Unsafe usage.
>
> On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]> wrote:
>> I need to try it, but I've not good omen on it due to JigSaw and a partial
>> sun.misc.Unsafe removal that could limit the usage of Netty and/or other
>> parts of the Artemis code base (eg
>> https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49)
>>
>>
>>
>> --
>> View this message in context: http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [DISCUSS] Artemis JDK9 support

clebertsuconic
Nice catch.


We may have to remove it if they don't fix it.


On Tue, May 9, 2017 at 12:57 PM Timothy Bish <[hidden email]> wrote:

> That looks to be related to error-prone:
> https://github.com/google/error-prone/issues/448
>
> On 05/09/2017 10:38 AM, Clebert Suconic wrote:
> > I can't run maven install with the early access JDK. Something will
> > need to be changed on the poms?
> >
> > [INFO]
> ------------------------------------------------------------------------
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> ------------------------------------------------------------------------
> >
> > [INFO] Total time: 7.948 s
> >
> > [INFO] Finished at: 2017-05-09T10:34:41-04:00
> >
> > [INFO] Final Memory: 40M/132M
> >
> > [INFO]
> ------------------------------------------------------------------------
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> > (default-compile) on project artemis-commons: Fatal error compiling:
> > CompilerException: InvocationTargetException:
> > java.nio.file.NotDirectoryException:
> > /var/jenkins/tools/hudson.model.JDK/jdk-9/lib/modules -> [Help 1]
> >
> >
> >
> > I won't be able to get much further from that.
> >
> >
> > But we won't be able to use JDK9 unless Netty gets around the Unsafe
> usage.
> >
> > On Tue, May 9, 2017 at 10:18 AM, nigro_franz <[hidden email]>
> wrote:
> >> I need to try it, but I've not good omen on it due to JigSaw and a
> partial
> >> sun.misc.Unsafe removal that could limit the usage of Netty and/or other
> >> parts of the Artemis code base (eg
> >>
> https://github.com/apache/activemq-artemis/blob/master/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/Env.java#L49
> )
> >>
> >>
> >>
> >> --
> >> View this message in context:
> http://activemq.2283324.n4.nabble.com/DISCUSS-Artemis-JDK9-support-tp4725823p4725825.html
> >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
> >
> >
>
>
> --
> Tim Bish
> twitter: @tabish121
> blog: http://timbish.blogspot.com/
>
> --
Clebert Suconic
Loading...