[icedtea-web] RFC: PR1058 - XFileOpenService openMultiFileDialog ClassCastException

Jiri Vanek jvanek at redhat.com
Fri Aug 30 01:55:38 PDT 2013


On 08/30/2013 01:33 AM, Omair Majid wrote:
> +                FileContents[] result = new FileContents[length];
> +                for (int i = 0; i<  length; i++) {
> +                    XFileContents xfile = new XFileContents(files[i]);
> +                    result[i] = (FileContents) ServiceUtil.createPrivilegedProxy(FileContents.class, xfile);
> +                }
> +                return result;

Looks good to me.



More information about the distro-pkg-dev mailing list