-classpath @FILE

Kumar Srinivasan Kumar.Srinivasan at Sun.COM
Tue Jul 7 18:25:52 UTC 2009


CR: 4326573, I have updated this bug with your solution.


> On Mon, Jul 6, 2009 at 15:08, Kumar Srinivasan<Kumar.Srinivasan at sun.com> wrote:
>> Hi Martin,
>> I take it you want me to integrate this after due diligence ?
> Yes.
> We are not in any hurry to integrate it,
> and we understand that there may need to be work done on
> this (like generalization/doc/test work) that Google might not
> want to do (or cannot, in the case of the man pages),
> so this change may reasonably remain unmerged.
> For the time being, it is useful for us.
> http://cr.openjdk.java.net/~martin/webrevs/openjdk7/classpath@FILE/
> Please file an RFE.
> Martin
>> I can take a look at it, as a submission, but I can't promise when I will
>> be able to look into getting it into openjdk as my priorities are focused
>> elsewhere at this time.
>> Thanks
>> Kumar
>>> Hi launcher team,
>>> We have a local mod to openjdk's launcher here at Google
>>> that we would be willing to send upstream.
>>> We were hitting the 128kb command line arg limit
>>> (that is, the Linux limit on the size of *one* argument,
>>> not the entire command line) and made the simple expedient
>>> of allowing the classpath to be specified via a file,
>>> using the familiar
>>> -cp @FILE
>>> syntax.
>>> It's hard to create a uniform support for @FILE
>>> across all jdk commands, because the jar and javac
>>> commands already do their own @FILE parsing.
>>> So although -cp @FILE is a bit of a hack,
>>> it is useful enough that it probably should be part of the jdk.
>>> Remember that jdk engineers tend not to experience "jar hell"
>>> themselves.
>>> Martin
>> --
>> Kumar Srinivasan           Sun Microsystems, Java Software.
>> 408-276-7586

Kumar Srinivasan           
Sun Microsystems, Java Software.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20090707/991ca283/attachment.html>

More information about the core-libs-dev mailing list