Seems to run clean on the latest Oracle JDK:

~/code/incubator-geode (develop)$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Anthony


> On 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/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/git/geode/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
>> Download binary, source
>> 
> 
> 

Reply via email to