Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-409

maven-shared-jar fails to analyse JARs containing Java 8 code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-shared-jar-1.1
    • maven-shared-jar-1.2
    • maven-shared-jar
    • None
    • windows 8.1 jdk 8.31

    Description

      Maven shared jar fail to analyse jdk8 artifact (containing jdk8 stream ). Apache BCEL raise an exception.

      I discover this issue by using maven project info report plugin (dependencies section)

      jdk8.patch contains a unit test expecting to have a true answer to isDebugPresent (as maven compiler generate debug info by default).

      jdk8jar.zip is a multimode project to reproduce the jar used in the tests.

      upgrading to bcel 6.0 SNAPSHOT works but as it's not release yet I guess I have to wait

      Attachments

        1. jdk8.patch
          3 kB
          Eric Barboni
        2. jdk8jar.zip
          4 kB
          Eric Barboni

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              skygolanur Eric Barboni
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: