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 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#groupname 
)

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/changes7.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