-
Bug
-
Resolution: Done
-
Major
-
4.0.0-BETA0
-
None
-
None
We had upgrade to byteman 4.0.0-BETA0, the narayana jta unit tests with the byteman look good but they throw the exception during Initialising JDK9 AccessManager .
Running com.hp.mwtests.ts.jta.commitmarkable.TestCommitMarkableResourceFailAfterCommit byteman jar is /home/jenkins/.m2/repository/org/jboss/byteman/byteman/4.0.0-BETA0/byteman-4.0.0-BETA0.jar Setting org.jboss.byteman.allow.config.update=true AccessManager:init Initialising JDK9 AccessManager 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
The java version is
java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+137) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+137, mixed mode)
- is related to
-
JBTM-2685 Check that narayana builds and runs using the Java SE 9 compiler
- Closed