Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19825

Coding error in processing jars in Batch and CDI

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.3.0.Alpha2
    • 4.3.0.Beta1
    • batch, cdi
    • None

    Description

      In CDI 1.1+ and Batch we can check if jar is an archive only by scanning it. The result is cached so that jar is scanned only once. When it is scanned for the first time, method resolve() now returns constant 'UNRESOLVED' instead of the computed result. In this case jar is scanned for cdi beans / batch artifacts as an archive, which almost doubles the time at the first build.

      Besides, in Batch results for checked jars are not saved as it is done for CDI.

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              scabanovich Viacheslav Kabanovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: