RFR: JDK-8013736: [launcher] cleanup code for correctness

Martin Buchholz martinrb at google.com
Tue May 7 19:44:23 UTC 2013

On 5/7/13, Kumar Srinivasan <kumar.x.srinivasan at oracle.com> wrote:
> On 5/7/2013 7:15 AM, Kumar Srinivasan wrote:
> I think I will leave it as-is, jexec, it appears may not be needed, this
> was added for
> Solaris primarily, and I am not sure if this is required anymore (as
> Alan pointed out earlier),
> I need to research this, and likely yank out jexec.c completely.


Folks think they want jexec, but in practice it doesn't work as well
as they would like, and people instead have more success with the
prepend-executable-to-jar-file trick.

argv-size checks here don't matter in practice.  The dreaded
system-limit-of-doom, namely the argument-list-too-big limit, will get
them first.

More information about the core-libs-dev mailing list