Re: Minutes: JDO TCK Conference Call Friday April 15, 9 AM Pacific Daylight Time (PDT)

2016-04-15 Thread Craig Russell

> On Apr 15, 2016, at 10:13 AM, Andy Jefferson  wrote:
> 
>> 3. JDO-750 "Change development environment to JDK 1.8" 
>> https://issues.apache.org/jira/browse/JDO-750
>> 
>> Not clear whether api or specification needs to call out specifically java 
>> 8. The tck will now run only on java 8.
> 
> You need the API to be built with Java8 since there are javax.jdo.query 
> classes LocalDateExpression, LocalTimeExpression, LocalDateTimeExpression, 
> OptionalExpression that support Java8 classes.
> 
Ok. That clarifies it.

Craig
> 
> 
> Regards
> -- 
> Andy
> DataNucleus (Web: http://www.datanucleus.org   Twitter: @datanucleus)

Craig L Russell
Architect
craig.russ...@oracle.com
P.S. A good JDO? O, Gasp!







Re: Minutes: JDO TCK Conference Call Friday April 15, 9 AM Pacific Daylight Time (PDT)

2016-04-15 Thread Andy Jefferson
> 3. JDO-750 "Change development environment to JDK 1.8" 
> https://issues.apache.org/jira/browse/JDO-750
> 
> Not clear whether api or specification needs to call out specifically java 8. 
> The tck will now run only on java 8.

You need the API to be built with Java8 since there are javax.jdo.query classes 
LocalDateExpression, LocalTimeExpression, LocalDateTimeExpression, 
OptionalExpression that support Java8 classes.



Regards
-- 
Andy
DataNucleus (Web: http://www.datanucleus.org   Twitter: @datanucleus)


[jira] [Commented] (JDO-750) Change development environment to JDK 1.8

2016-04-15 Thread Craig L Russell (JIRA)

[ 
https://issues.apache.org/jira/browse/JDO-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243215#comment-15243215
 ] 

Craig L Russell commented on JDO-750:
-

I'm not sure that the specification needs to identify the java release version. 
But the tck does.

Is there anything in the api that requires java 8?

I'll propose that the tck for 3.2 requires java 8. The tck for 3.1 already 
requires java 6. We can document the java requirements in the release notes. 

> Change development environment to JDK 1.8
> -
>
> Key: JDO-750
> URL: https://issues.apache.org/jira/browse/JDO-750
> Project: JDO
>  Issue Type: Task
>  Components: api, tck
>Affects Versions: JDO 3.2
>Reporter: Michael Bouschen
> Fix For: JDO 3.2
>
>
> The idea is that we continue to support JDK 1.7 runtime, but the development 
> requires JDK 1.8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JDO-751) Support for Java8 Optional

2016-04-15 Thread Craig L Russell (JIRA)

[ 
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243188#comment-15243188
 ] 

Craig L Russell commented on JDO-751:
-

Just looked again at the class file metadata available at enhancement time. 
Using field.getGenericType() you can get the generic type of the field. So we 
probably can disallow this case if we choose. That's my vote.

> Support for Java8 Optional
> --
>
> Key: JDO-751
> URL: https://issues.apache.org/jira/browse/JDO-751
> Project: JDO
>  Issue Type: New Feature
>  Components: specification, tck
>Reporter: Andy Jefferson
> Fix For: JDO 3.2
>
>
> java.util.Optional provides a feature that is available in other languages. 
> Since JDO 3.2 will be for Java8+ then it makes sense to add support for this 
> as a "supported persistable type"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JDO-751) Support for Java8 Optional

2016-04-15 Thread Craig L Russell (JIRA)

[ 
https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243176#comment-15243176
 ] 

Craig L Russell commented on JDO-751:
-

Tilmann: It might make more sense simply to say that the behavior of 
Optional is not defined. We cannot reliably detect this case.

> Support for Java8 Optional
> --
>
> Key: JDO-751
> URL: https://issues.apache.org/jira/browse/JDO-751
> Project: JDO
>  Issue Type: New Feature
>  Components: specification, tck
>Reporter: Andy Jefferson
> Fix For: JDO 3.2
>
>
> java.util.Optional provides a feature that is available in other languages. 
> Since JDO 3.2 will be for Java8+ then it makes sense to add support for this 
> as a "supported persistable type"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)