Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10821

ASM 6.2.1 is not JDK11 ready

    XMLWordPrintable

    Details

      Description

      The following two tests are failing on JDK11:

      • testsuite/compat/src/test/java/org/jboss/as/test/compat/jpa/hibernate/transformer/VerifyHibernate51CompatibilityPropertyAndJDSEnabledTransformerTestCase.java
      • testsuite/compat/src/test/java/org/jboss/as/test/compat/jpa/hibernate/transformer/VerifyHibernate51CompatibilityPropertyEnabledTransformerTestCase.java

      The reason is the following stack trace:

      java.lang.UnsupportedOperationException
      <------>at asm.asm@6.2.1//org.objectweb.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
      <------>at asm.asm@6.2.1//org.objectweb.asm.ClassReader.accept(ClassReader.java:651)
      <------>at asm.asm@6.2.1//org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
      <------>at org.hibernate.bytecodetransformer@14.0.0.Beta2-SNAPSHOT//org.jboss.as.hibernate.Hibernate51CompatibilityTransformer.collectClassesAndInterfaces(Hibernate51CompatibilityTransformer.java:
      <------>at org.hibernate.bytecodetransformer@14.0.0.Beta2-SNAPSHOT//org.jboss.as.hibernate.Hibernate51CompatibilityTransformer.access$200(Hibernate51CompatibilityTransformer.java:50)
      <------>at org.hibernate.bytecodetransformer@14.0.0.Beta2-SNAPSHOT//org.jboss.as.hibernate.Hibernate51CompatibilityTransformer$2.visit(Hibernate51CompatibilityTransformer.java:378)
      <------>at asm.asm@6.2.1//org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
      <------>at asm.asm@6.2.1//org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
      <------>at org.hibernate.bytecodetransformer@14.0.0.Beta2-SNAPSHOT//org.jboss.as.hibernate.Hibernate51CompatibilityTransformer.collectClassesAndInterfaces(Hibernate51CompatibilityTransformer.java:
      <------>at org.hibernate.bytecodetransformer@14.0.0.Beta2-SNAPSHOT//org.jboss.as.hibernate.Hibernate51CompatibilityTransformer.transform(Hibernate51CompatibilityTransformer.java:76)
      <------>at org.jboss.as.server@6.0.0.Alpha6-SNAPSHOT//org.jboss.as.server.deployment.module.DelegatingClassFileTransformer.transform(DelegatingClassFileTransformer.java:60)
      <------>at org.jboss.modules.JLIClassTransformer.transform(JLIClassTransformer.java:55)
      <------>at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:503)
      <------>at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
      <------>at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
      <------>at org.jboss.modules.Module.loadModuleClass(Module.java:731)
      <------>at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
      <------>at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
      <------>at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      <------>at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      <------>at deployment.arquillian-service//org.jboss.as.arquillian.service.ArquillianServiceActivator.activate(ArquillianServiceActivator.java:35)
      <------>at org.jboss.as.server@6.0.0.Alpha6-SNAPSHOT//org.jboss.as.server.deployment.service.ServiceActivatorProcessor.deploy(ServiceActivatorProcessor.java:91)
      <------>at org.jboss.as.server@6.0.0.Alpha6-SNAPSHOT//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)
      <------>at org.jboss.msc@1.4.2.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
      <------>at org.jboss.msc@1.4.2.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
      <------>at org.jboss.msc@1.4.2.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
      <------>at org.jboss.threads@2.3.2.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      <------>at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      <------>at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      <------>at org.jboss.threads@2.3.2.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      <------>at java.base/java.lang.Thread.run(Thread.java:834)

      These tests are passing on JDK8, JDK9 & JDK10.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarlow Scott Marlow
                Reporter:
                ropalka Richard Opalka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: