Asciidoctor Maven plugin fails for JDK 9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Asciidoctor Maven plugin fails for JDK 9

Emmanuel Bernard
Just so you know and keep track of things. Our Hibernate builds fail on JDK 9 because Asciidoctor Maven plugin fails on JDK 9.

Here is a snippet of the discussion below.

On 8 September 2014 12:25, Emmanuel Bernard <emmanuel@hibernate.org> wrote:
> On Sun 2014-09-07 14:04, Sanne Grinovero wrote:                          
>> - asciidoctor-maven-plugin plugin fails: I'll disable it for now but    
>> it would be great if someone could have a look at it, if it's a JVM      
>> bug we should report it, and otherwise fixing the plugin would be        
>> nice.                                                                    
>                                                                          
> Can you point me to a URL showing the failure? I can try and contact the  
> relevant persons.                                                        
                                                                           
I did debug it, and found that Asciidoctor fails to initialize JRuby:      
the JRuby engine checks which JVM it's being run on to generate            
appropriate opcodes.. and refuses to start on JDK9.                        
I guess that's fair enough, so the question would be if there is an        
easy way to disable the asciidoctor-maven-plugin from an environment        
switch, or if we need to mess with Maven profiles.                          
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor Maven plugin fails for JDK 9

LightGuardjp
I think you'll probably have to a profile. We don't have any switches to disable the whole thing. Have you contacted Charles about the problem?

On Monday, September 8, 2014, Emmanuel Bernard [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Just so you know and keep track of things. Our Hibernate builds fail on JDK 9 because Asciidoctor Maven plugin fails on JDK 9.

Here is a snippet of the discussion below.

On 8 September 2014 12:25, Emmanuel Bernard <<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;emmanuel@hibernate.org&#39;);" target="_blank">emmanuel@...> wrote:
> On Sun 2014-09-07 14:04, Sanne Grinovero wrote:                          
>> - asciidoctor-maven-plugin plugin fails: I'll disable it for now but    
>> it would be great if someone could have a look at it, if it's a JVM      
>> bug we should report it, and otherwise fixing the plugin would be        
>> nice.                                                                    
>                                                                          
> Can you point me to a URL showing the failure? I can try and contact the  
> relevant persons.                                                        
                                                                           
I did debug it, and found that Asciidoctor fails to initialize JRuby:      
the JRuby engine checks which JVM it's being run on to generate            
appropriate opcodes.. and refuses to start on JDK9.                        
I guess that's fair enough, so the question would be if there is an        
easy way to disable the asciidoctor-maven-plugin from an environment        
switch, or if we need to mess with Maven profiles.                          


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Asciidoctor-Maven-plugin-fails-for-JDK-9-tp2143.html
To start a new topic under Asciidoctor :: Discussion, email <a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;ml-node%2Bs49171n1h37@n6.nabble.com&#39;);" target="_blank">ml-node+s49171n1h37@...
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--

Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor Maven plugin fails for JDK 9

asotobu
With JDK 8 it works because I have tested, I will see if I find some option that may be passed to JRuby to allow work with JDK9.
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor Maven plugin fails for JDK 9

mojavelinux
Administrator
I'm also going to say this sounds like a problem to solve with profiles.

As a side note...

This is why the OpenJDK team really needs to get JDK9 on Travis CI. I'd be thrilled to test against the tip of Java, but the OpenJDK needs to take steps to make it available. Funny that I was just having this conversation the other day with Dalibor.

-Dan


On Tue, Sep 9, 2014 at 12:26 AM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
With JDK 8 it works because I have tested, I will see if I find some option that may be passed to JRuby to allow work with JDK9.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Asciidoctor-Maven-plugin-fails-for-JDK-9-tp2143p2151.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--