code: public static Class<?> loadClassNew(BundleContext context, String klassName) throws ClassNotFoundException {
          // extract package
          String packageName = klassName.substring(0, klassName.lastIndexOf('.'));
          BundleCapability exportedPackage = getExportedPackage(context, packageName);
          if (exportedPackage == null) {
              throw new ClassNotFoundException("No package found with name " + packageName + " while trying to load the class "
                      + klassName + ".");
          }
          return exportedPackage.getRevision().getBundle().loadClass(klassName);
      }
docs: Load the Class of name <code>klassName</code>.
  TODO : handle class version
  
  @param context   The BundleContext
  @param klassName The Class name
  @return The Class of name <code>klassName</code>
  @throws ClassNotFoundException if we can't load the Class of name <code>klassName</code>