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

Coding error in processing jars in Batch and CDI


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Beta1
    • 4.3.0.Alpha2
    • batch, cdi
    • None

      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.

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