This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Similar to JDK's RFE #6278974 - Add meta-index to jre/lib The idea is to have a small "meta-index" file which contains high-level information about which packages (or package prefixes) are contained in which jars. The expected benefit for JVM is to avoid opening of some JARs. Another benefit when applied in NetBeans can be faster access path to JAR that actually contains the resource (classloaders can efectivelly refuse to load resources that are not in the JAR.
Created attachment 23026 [details] patch to modify classloaders
Created attachment 23027 [details] added file
Need also index builder and to build the indexes. For example using comand like this one: for i in `find nbbuild/netbeans -type d -name "core" -o -name "modules" -o -name "ext"`; do echo $i; cd $i; java -classpath $HOME/devel/radim/tests/metaIndexBuilder/dist/metaIndexBuilder.jar metaindex.BuildMetaIndex *.jar >>meta-index; cd -; done
Created attachment 23029 [details] builder sources
I guess we are in good position now with Nejedlák's all-resources.dat.