You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "T. Schapitz" <t....@online.de> on 2020/07/11 23:35:11 UTC
[exec] Update from Java 5 to 6
Hi there,
maybe a bit late in the game, because the original post regarding this
topic was 9 months ago, but i think there is a good case for skipping
directly to JDK 8:
If we opt for utilizing not only the java.lang.ProcessBuilder introduced
in JDK 1.5, but also the additional methods for stream inheritance and
stream redirection(*) introduced in 6 & 7, this will likely be done by
introducing additional methods into the API interfaces, whether it is
the CommandLauncher or the Executor. But this could potentially break
backward compatibility for users of common-exec, that implemented those
interfaces. (Granted, it's rather unlikely somebody did this - most
would rather be extending DefaultExecutor). But problems like this could
easily avoided by adding default implementations introduced with JDK 8.
Btw: who would be reviewing a pull request, if I had one? Is currently
somebody reviewing working on the issues?
(I'm just trying to get a feel for the project, and want to avoid
duplication)
Thomas
Re: [exec] Update from Java 5 to 6
Posted by Gary Gregory <ga...@gmail.com>.
I am ok with Java 8 as the requirement.
Gary
On Sun, Jul 12, 2020, 06:16 T. Schapitz <t....@online.de> wrote:
> Hi there,
>
> maybe a bit late in the game, because the original post regarding this
> topic was 9 months ago, but i think there is a good case for skipping
> directly to JDK 8:
>
> If we opt for utilizing not only the java.lang.ProcessBuilder introduced
> in JDK 1.5, but also the additional methods for stream inheritance and
> stream redirection(*) introduced in 6 & 7, this will likely be done by
> introducing additional methods into the API interfaces, whether it is
> the CommandLauncher or the Executor. But this could potentially break
> backward compatibility for users of common-exec, that implemented those
> interfaces. (Granted, it's rather unlikely somebody did this - most
> would rather be extending DefaultExecutor). But problems like this could
> easily avoided by adding default implementations introduced with JDK 8.
>
> Btw: who would be reviewing a pull request, if I had one? Is currently
> somebody reviewing working on the issues?
>
> (I'm just trying to get a feel for the project, and want to avoid
> duplication)
>
> Thomas
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
Re: [exec] Update from Java 5 to 6
Posted by Xeno Amess <xe...@gmail.com>.
for 1.5 to 1.6:
Seems only 1.6 users can benefit from that...does it worth?
for 1.5 to 1.8:
GREAAAAAAAAAATE! +1 for it.
T. Schapitz <t....@online.de> 于2020年7月12日周日 下午6:16写道:
> Hi there,
>
> maybe a bit late in the game, because the original post regarding this
> topic was 9 months ago, but i think there is a good case for skipping
> directly to JDK 8:
>
> If we opt for utilizing not only the java.lang.ProcessBuilder introduced
> in JDK 1.5, but also the additional methods for stream inheritance and
> stream redirection(*) introduced in 6 & 7, this will likely be done by
> introducing additional methods into the API interfaces, whether it is
> the CommandLauncher or the Executor. But this could potentially break
> backward compatibility for users of common-exec, that implemented those
> interfaces. (Granted, it's rather unlikely somebody did this - most
> would rather be extending DefaultExecutor). But problems like this could
> easily avoided by adding default implementations introduced with JDK 8.
>
> Btw: who would be reviewing a pull request, if I had one? Is currently
> somebody reviewing working on the issues?
>
> (I'm just trying to get a feel for the project, and want to avoid
> duplication)
>
> Thomas
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org