Hey Dan,
    Nice to hear from you too. The code all looks quite sanitized. Good
job.

I switched to the 1.0.0 release but see the same problem. Must be the JVM
build. I will try that soon ...

/Users/jramnara/Downloads/*geode-rel-v1.0.0-incubating*/geode-core/src/test/java/org/apache/geode/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>)

/Users/jramnara/Downloads/geode-rel-v1.0.0-incubating/geode-core/src/test/java/org/apache/geode/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

1 warning

:geode-core:compileTestJava FAILED

-----
Jags
SnappyData blog <http://www.snappydata.io/blog>
Download binary, source <https://github.com/SnappyDataInc/snappydata>


On Tue, Jan 31, 2017 at 9:35 PM, Dan Smith <[email protected]> wrote:

> Hi Jags!
>
> Good to hear from you! I think it is related to the version of java 8 that
> you are using. At least I know Anil hit that error with 1.8.0_20 and it
> went away by upgrading. See this earlier mail conversation -
> http://markmail.org/thread/srdhtpnelaa6axn4. But if have the latest JDK
> maybe this issue is back :(
>
> -Dan
>
> On Tue, Jan 31, 2017 at 8:44 PM, Anthony Baker <[email protected]> wrote:
>
>> Hi Jags!
>>
>> The master branch is the last release; the develop branch is the staging
>> area for new work.  What JDK are you using?  What build command?
>>
>> I ran `gradle clean build` without trouble from the develop branch
>> without seeing this error.
>>
>> Anthony
>>
>>
>> On Jan 31, 2017, at 8:16 PM, Jags Ramnarayan <[email protected]>
>> wrote:
>>
>> Hi friends,
>>      Trying to build from source but ran into this .... I shouldn't be on
>> the develop branch ?
>>
>> --------------
>>
>> /Users/jramnara/git/geode/geode-core/src/test/java/org/apach
>> e/geode/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,Serializ
>> ableCallableIF<T>)
>>
>> /Users/jramnara/git/geode/geode-core/src/test/java/org/apach
>> e/geode/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
>>
>> 1 warning
>>
>> :geode-core:compileTestJava FAILED
>>
>> --------
>>
>>
>> -----
>> Jags
>> SnappyData blog <http://www.snappydata.io/blog>
>> Download binary, source <https://github.com/SnappyDataInc/snappydata>
>>
>>
>>
>

Reply via email to