[
https://issues.jboss.org/browse/JBTM-2685?page=com.atlassian.jira.plugin....
]
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@9-ea/Native Method)
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@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@9-ea/Native
Method)
at
jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(java.base@9-ea/NativeConstructorAccessorImpl.java:62)
at
jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(java.base@9-ea/DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(java.base@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@9-ea/Native Method)
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535)
at
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(java.instrument@9-ea/InstrumentationImpl.java:396)
at
sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(java.instrument@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)