[jbossts-issues] [JBoss JIRA] (JBTM-2685) Check that narayana builds and runs using the Java SE 9 compiler
Amos Feng (JIRA)
issues at jboss.org
Fri Oct 21 03:36:00 EDT 2016
[ https://issues.jboss.org/browse/JBTM-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310206#comment-13310206 ]
Amos Feng commented on JBTM-2685:
---------------------------------
It needs to upgrade the byteman to 4.0.0-BETA0 and the ArjunaJTA/jta tests with the byteman rules should work.
I had test them with the jdk9-ea+140 although the byteman throws the Exception
{code}
AccessManager:init unexpected error initialising JigsawAccessManager
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base at 9-ea/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base at 9-ea/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base at 9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base at 9-ea/Method.java:535)
at org.jboss.byteman.agent.AccessManager.init(AccessManager.java:80)
at org.jboss.byteman.agent.Transformer.<init>(Transformer.java:98)
at org.jboss.byteman.agent.Retransformer.<init>(Retransformer.java:60)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(java.base at 9-ea/Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base at 9-ea/NativeConstructorAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base at 9-ea/DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(java.base at 9-ea/Constructor.java:455)
at org.jboss.byteman.agent.Main.premain(Main.java:269)
at org.jboss.byteman.agent.Main.agentmain(Main.java:307)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base at 9-ea/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base at 9-ea/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base at 9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base at 9-ea/Method.java:535)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(java.instrument at 9-ea/InstrumentationImpl.java:396)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(java.instrument at 9-ea/InstrumentationImpl.java:418)
Caused by: java.lang.NoSuchMethodError: java.lang.module.ModuleDescriptor.module(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Builder;
at org.jboss.byteman.layer.LayerModuleFinder.<init>(LayerModuleFinder.java:82)
at org.jboss.byteman.layer.LayerFactory.installModule(LayerFactory.java:63)
at org.jboss.byteman.agent.JigsawAccessManager.init(JigsawAccessManager.java:63)
... 19 more
{code}
> Check that narayana builds and runs using the Java SE 9 compiler
> ----------------------------------------------------------------
>
> Key: JBTM-2685
> URL: https://issues.jboss.org/browse/JBTM-2685
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Build System
> Affects Versions: 5.3.3.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Critical
> Fix For: 5.next
>
>
> Get the latest build from https://jdk9.java.net/download/ and check for any issues.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list