[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1294455 - /subversion/trunk/tools/buildbot/slaves/ubuntu-x64/svnbuild.sh

From: Blair Zajac <blair_at_orcaware.com>
Date: Tue, 28 Feb 2012 09:07:32 -0800

On 02/28/2012 05:46 AM, Mark Phippard wrote:
> On Tue, Feb 28, 2012 at 8:36 AM, Hyrum K Wright
> <hyrum.wright_at_wandisco.com> wrote:
>
>> I'm not sure I understand what you mean here. People will be using
>> Java 7 to attempt to build the JavaHL bindings, so I think it makes
>> sense to use them on our tests. In fact, this entire thing was
>> motivated by the fact that I upgraded the slave to the latest Ubuntu
>> Beta, and discovered it is now shipping Java 7 by default.
>
> I assume he was asking how do we make sure we do not add features in
> the source code that would only compile with JDK7.

Yes, that's correct. It's like moving from Python 2.X to 2.X+1, e.g.
the "with" keywords. Java 7 picked up some nice new features from
Project Coin [1]

> From what I
> recall, we specify the --source=1.5 option when compiling. So that
> should take care of it in terms of language features. I think we
> could technically still use new methods from the runtime libraries
> without being flagged with an error, but that is really unlikely in
> our codebase.

Using --source=1.5 should be sufficient.

Blair

[1] https://blogs.oracle.com/abuckley/resource/QConSF2011-JavaSE78.pdf
Received on 2012-02-28 18:08:10 CET

This is an archived mail posted to the Subversion Dev mailing list.