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

KB Builder does complete scanning of content of every jar file

    XMLWordPrintable

Description

    Memory problem were reported https://community.jboss.org/message/804026#804026

    At present, KB builder scans for facelet taglibs everywhere in jar files, not only in META-INF folder. That results in complete loading of model objects for jar content, which otherwise would remain unloaded. Once loaded, it is not easy to release them, since objects are shared by projects referencing the same jar.

    Complete scanning was implemented as fix for https://issues.jboss.org/browse/JBIDE-5764 in February 2010.
    JSF implementation jsf-impl-2.0.1.jar contains facelet tag libraries in /com/sun/faces/metadata/taglib.
    However, it is recommended that facelet taglib xml files be packaged into META-INF folder. It seems that jsf-impl-2.0.1.jar is a special case. I suggest that we stop doing complete scanning of all jars and do it only for JSF 2 implementation jar.

    Attachments

      Activity

        People

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

          Dates

            Created:
            Updated:
            Resolved: