Webapps Jetty dependency is incompatible with Java 8

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.13.0
    • Component/s: webapp
    • None

      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.

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

              Created:
              Updated:
              Resolved: