I think we should just dive in and plan on Java 1.7 for the 3.1 release.  I am 
hoping it won't delay the release, but if it does delay the release, I think it 
will be worth it.  I have been running cTAKES 3.0.0 with java7 occasionally and 
have not run into problems.

For reference: the UIMA 2.4.0 documentation [1] says "As of release 2.2.1, the 
UIMA SDK requires a Java 1.5 level (or later). ... The release has been tested 
with Java 5 and 6. It has been tested on mainly on Windows XP and Linux Intel 
32bit platforms, with some testing on the MacOSX. Other platforms and JDK 
implementations will likely work, but have not been as significantly tested."

Pei, when you wrote "still test and verify (not just cTAKES, but our 
dependencies as well)" did you have a specific plan in mind for testing our 
dependencies other than testing them indirectly by testing cTAKES (by running 
the cTAKES regression tests etc)

[1] 
http://uima.apache.org/d/uimaj-2.4.0/overview_and_setup.html#ugr.faqs.levels_required

-- James

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Chen, Pei
Sent: Monday, June 03, 2013 3:42 PM
To: [email protected]
Subject: RE: supported java releases in current ctakes development and future 
releases (3.1 and later)

I believe so; do you know which component you were planning to require the java 
1.7 features? (existing component or new?)
The one consideration is that if 3.1 is planned to be cut from trunk and 
released soon (end of this month?), it may be a good idea to isolate the 
project first (such as sandbox if it's a new component or a temp branch); just 
in case there isn't enough time or issues with 1.7 testing.  My initial 2 
cents...

--Pei


> -----Original Message-----
> From: Coarr, Matt [mailto:[email protected]]
> Sent: Monday, June 03, 2013 4:33 PM
> To: [email protected]
> Subject: Re: supported java releases in current ctakes development and
> future releases (3.1 and later)
> 
> Just to tie back to this, it sounds like it's ok to use java 7 features.  
> Right?
> 
> Anything that works with ctakes using java 1.7 should work with uima
> requiring at least 1.5 or 1.6.  I know I've been running 1.7 for about a year 
> or
> so.
> 
> (The reason I'm asking is a coworker is making some changes and would like
> to use named capturing groups in the java 7 regex support —
> http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#gro
> upname )
> 
> A couple of my other favorite java7 features that I've used on non-ctakes
> projects:
> 
>   *   multicatch:
> http://docs.oracle.com/javase/7/docs/technotes/guides/language/catch-
> multiple.html
>   *   autoclosable resources (aka "try-with-resources"):
> http://docs.oracle.com/javase/7/docs/technotes/guides/language/try-with-
> resources.html
>   *   concurrency utility enhancements (aka "fork-join"):
> http://docs.oracle.com/javase/7/docs/technotes/guides/concurrency/chang
> es7.html
> 
> Matt
> 
> 
> From: <Chen>, Pei
> <[email protected]<mailto:[email protected]>
> >
> Reply-To: "[email protected]<mailto:[email protected]>"
> <[email protected]<mailto:[email protected]>>
> Date: Thursday, May 23, 2013 18:29
> To: "[email protected]<mailto:[email protected]>"
> <[email protected]<mailto:[email protected]>>
> Subject: RE: supported java releases in current ctakes development and
> future releases (3.1 and later)
> 
> good idea...
> FYI:
> Opened to track this:
> https://issues.apache.org/jira/browse/CTAKES-197
> Historically, Java has been pretty good about backwards compatibility, but I
> think we should still test and verify (not just cTAKES, but our dependencies
> as well).
> 
> --Pei

Reply via email to