// Get the root entry
JarEntryInfo rootEntryInfo = new JarEntryInfo(rootEntry);
// The entries we will browse
JarInfo jarInfo = new JarInfo(jarFile);
boolean enabled = true;
//
Stack stack = new Stack(jarURL, rootEntryInfo);
for (Iterator i = jarInfo.entries(); i.hasNext();)
{
JarEntryInfo entryInfo = (JarEntryInfo)i.next();
// Only consider descendant of the root or root itself
if (entryInfo.equals(rootEntryInfo) || entryInfo.isDescendantOf(rootEntryInfo))