Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11205

Webapps Jetty dependency is incompatible with Java 8

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.13.0
    • Fix Version/s: None
    • Component/s: webapp
    • Labels:
      None
    • Title Keywords:
      webapps, jetty, java 8, asm

      Description

      Given:
      The {camunda-webapp}} repository.

      When:
      The project is built with JDK 8+, with 1.8 source level, using the develop profile.

      Then:
      A warning is shown in the logs that an exception is thrown:

      [WARNING] Problem processing jar entry org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.class
      java.lang.ArrayIndexOutOfBoundsException: 852
          at org.objectweb.asm.ClassReader.readClass (Unknown Source)
          at org.objectweb.asm.ClassReader.accept (Unknown Source)
          at org.objectweb.asm.ClassReader.accept (Unknown Source)
          at org.eclipse.jetty.annotations.AnnotationParser.scanClass (AnnotationParser.java:899)
          at org.eclipse.jetty.annotations.AnnotationParser$2.processEntry (AnnotationParser.java:857)
          at org.eclipse.jetty.webapp.JarScanner.matched (JarScanner.java:161)
      

      Expected:
      No warning is shown and no exception is thrown.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              nikola.koevski Nikola Koevski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: