Bug 284881 - JSP ProjectDescription rescans jar entries unnecessarily
Summary: JSP ProjectDescription rescans jar entries unnecessarily
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2 M1   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2009-07-28 11:27 EDT by Nick Sandonato CLA
Modified: 2009-07-28 11:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sandonato CLA 2009-07-28 11:27:35 EDT
The ProjectDescription#updateJAR will start by getting all of the entries in the jar file, and then explicitly look for TLD files. For each file, the algorithm then requires that the JAR be rescanned for the content of that TLD entry by looking the entry up by name.

The JAR should only have to be scanned once for TLDs and their content.
Comment 1 Nick Sandonato CLA 2009-07-28 11:57:08 EDT
Released changes to head.