return systemPackages;
}
public static Set getClassLoaderPackages(ClassLoader cl)
{
PackageInfo info;
if (cl instanceof PackageInfo)
info = (PackageInfo) cl;
else
info = new WrappingClassLoader(cl);
Package[] pkgs = info.getPackages();
HashSet packages = new HashSet();
for (int i = 0; i < pkgs.length; ++i)
packages.add(pkgs[i].getName());
return packages;