commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [exec] Java 5 and generics
Date Sat, 11 Jan 2014 11:24:21 GMT
On 11 January 2014 10:50, Benedikt Ritter <britter@apache.org> wrote:
> Hi,
>
> I'm working on it, but you're invited to help out ;-)
>
> Currently I'm not sure if we're going in the right direction here. The exec
> website says that exec fill the need for something like ProcessBuilder in
> Java < 5. In Java > 5 you would probably use the ProcessBuilder directly.
> Now we have updated to Java 5, which excludes the only user group that had
> a real need for it from using it :-)

Good point.

However Exec does offer some additional features such as variable
substitution and watchdog etc that should still be useful in Java 5.

But we should probably rewrite it to get rid of the OS-specific
classes and privatise/finalise as much as possible.
So maybe an Exec2 would be a good idea?
We can then break binary compat.

> Benedikt
>
>
> 2014/1/11 sebb <sebbaz@gmail.com>
>
>> On 11 January 2014 02:17, Gary Gregory <garydgregory@gmail.com> wrote:
>> > Hi All,
>> >
>> > Now that [exec] has 'graduated' to Java 5, we are getting a bunch of
>> > generics raw warnings.
>> >
>> > It would be nice to get these cleaned up ;)
>>
>> Had a quick look.
>> Some fixes look easy, but some are not immediately obvious - for
>> example, the substitution Map values can be String or File (according
>> to the tests).
>>
>> > Gary
>> >
>> > --
>> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> > Java Persistence with Hibernate, Second Edition<
>> http://www.manning.com/bauer3/>
>> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> > Spring Batch in Action <http://www.manning.com/templier/>
>> > Blog: http://garygregory.wordpress.com
>> > Home: http://garygregory.com/
>> > Tweet! http://twitter.com/GaryGregory
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message