I think that you getting this because vm1.invokeAsync(... seems to need
to return something but it does not.
Maybe remove the 'AsynInvocation vm1Invoke =' part... As it serves no
purpose here.
--Udo
On 3/06/2016 6:58 am, Anilkumar Gingade wrote:
Hi Devs,
Anyone seeing this issue:
:geode-core:compileTestJava/export/india1/users/agingade/src/gemfire/open/geode-core/src/test/java/com/gemstone/gemfire/management/internal/security/MultiUserDUnitTest.java:62:
error: reference to invokeAsync is ambiguous
AsyncInvocation vm1Invoke = vm1.invokeAsync("run as data-reader", () ->
{
^
both method invokeAsync(String,SerializableRunnableIF) in VM and method
<T>invokeAsync(String,SerializableCallableIF<T>) in VM match
where T is a type-variable:
T extends Object declared in method
<T>invokeAsync(String,SerializableCallableIF<T>)
/export/india1/users/agingade/src/gemfire/open/geode-core/src/test/java/com/gemstone/gemfire/security/templates/LdapUserAuthenticator.java:89:
warning: LdapCtxFactory is internal proprietary API and may be removed in a
future release
env.put(Context.INITIAL_CONTEXT_FACTORY,
com.sun.jndi.ldap.LdapCtxFactory.class.getName());
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
-Anil.