Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1351

Java 10: IllegalArgumentException in ClassReader.<init>

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.9.0
    • Component/s: Proxy-Module
    • Labels:
      None

      Description

      With java10, we get an exception

      Caused by: java.lang.IllegalArgumentException
      at org.apache.deltaspike.proxy.asm.ClassReader.<init>(ClassReader.java:160)
      at org.apache.deltaspike.proxy.asm.ClassReader.<init>(ClassReader.java:143)
      at org.apache.deltaspike.proxy.asm.ClassReader.<init>(ClassReader.java:418)
      at org.apache.deltaspike.proxy.impl.AsmDeltaSpikeProxyClassGenerator.generateProxyClassBytes(AsmDeltaSpikeProxyClassGenerator.java:154)
      ... 51 more
      
      at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
      at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:61)
      at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:420)

       

      Since ASM is shaded within deltaspike-proxy-asm, it is impossible to update ASM to a more recent version.

        Attachments

          Activity

            People

            • Assignee:
              tandraschko Thomas Andraschko
              Reporter:
              lieflo Florian Lieb
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: