On 08/11/2011 09:07 PM, Alexandre Boulgakov wrote:
Please review the attached patch to fix a build break.

The fix changes new Class<>[] to new Class<?>[] in two places.

Thanks,
Sasha

Hi Sasha,
you can rewrite:

  connectMethod = corbaStubClass.getMethod("connect",
                new Class<>[] {org.omg.CORBA.ORB.class});

to

  connectMethod = corbaStubClass.getMethod("connect",
                org.omg.CORBA.ORB.class);

because getMethod is a varargs.

Anyways, the changes are ok for me without that.

Rémi

Reply via email to