Derik sent a note to kepler-dev a few weeks ago indicating the LT decision to move to requiring Java 1.6 in the upcoming releases.  So I agree that is what we should do for the build and test environments, as some people will probably start using 1.6-specific language features.<div>
<br></div><div>Matt<br><br><div class="gmail_quote">On Fri, Jan 7, 2011 at 8:43 AM, Christopher Brooks <span dir="ltr"><<a href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Sean,<br>
Use Java 1.6.<br>
The leadership team determined that this was a good idea, though<br>
it will leave certain older Macs out of the build.<br>
<br>
I think we failed to communicate this decision.<br>
<br>
I just removed the @Override tags from DesignPatternImporter.<br>
<br>
My personal policy is that I'm attempting to keep the Ptolemy II<br>
core free of Java 1.6 code because Java 1.5 still has its uses.<br>
However, I'm not opposed to Java 1.6 code going in to the Ptolemy II<br>
core (kernel, util etc.).<br>
<br>
_Christopher<div><div></div><div class="h5"><br>
<br>
On 1/7/11 9:24 AM, Sean Riddle wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been setting up 'ant validate-ptolemy' as a cron job to be run periodically from a machine at UC Davis. During testing, it completed successfully and updated revision.txt. Unfortunately, it's<br>
come to my attention that while it all compiled with Java 1.6, it would not have done so under 1.5. The actual issue is very minor; in the class ptolemy.actor.gt.controller.DesignPatternImporter,<br>
@Override annotations are used for methods implementing an interface, rather than just for those overriding a concrete method.<br>
<br>
This does raise the question, though, of what exact environment (JDK version, OS, etc.) the canonical validate-ptolemy should be run under. It also might give us another push toward switching to Java<br>
1.6 entirely. Thoughts?<br>
<br>
- Sean<br>
_______________________________________________<br>
Kepler-dev mailing list<br>
<a href="mailto:Kepler-dev@kepler-project.org" target="_blank">Kepler-dev@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
</blockquote>
<br></div></div><font color="#888888">
-- <br>
Christopher Brooks, PMP                       University of California<br>
CHESS Executive Director                      US Mail: 337 Cory Hall<br>
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774<br>
ph: 510.643.9841 fax:510.642.2718             (Office: 545Q Cory)<br>
home: (F-Tu) 707.665.0131 cell: 707.332.0670</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Kepler-dev mailing list<br>
<a href="mailto:Kepler-dev@kepler-project.org" target="_blank">Kepler-dev@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
</div></div></blockquote></div><br></div>