Resolves the specified bundles. The Framework must attempt to resolve the specified bundles that are unresolved. Additional bundles that are not included in the specified bundles may be resolved as a result of calling this method. A permissible implementation of this method is to attempt to resolve all unresolved bundles installed in the framework.
If no bundles are specified, then the Framework will attempt to resolve all unresolved bundles. This method must not cause any bundle to be refreshed, stopped, or started. This method will not return until the operation has completed.
@param bundles The bundles to resolve or {@code null} to resolve allunresolved bundles installed in the Framework.
@return {@code true} if all specified bundles are resolved; {@code false}otherwise.
@throws IllegalArgumentException If the specified {@code Bundle}s were not created by the same framework instance associated with this FrameworkWiring.
@throws SecurityException If the caller does not have{@code AdminPermission[System Bundle,RESOLVE]} and the Javaruntime environment supports permissions.