Review request: 8003562: Provide a command-line tool to find static dependencies

Mandy Chung mandy.chung at
Fri Dec 14 17:30:39 PST 2012

On 12/14/2012 5:23 PM, Jonathan Gibbons wrote:
>>> -classpath is the one inconsistent with others. We think that it 
>>> would be better to live with "-classpath" as people are familiar 
>>> with -classpath option.
>> Ah, I see. But then you should still use:
>>  108         new Option(true, "-cp", "-classpath") {
>> Additionally, why not providing both, the old + new syntax:
>>  108         new Option(true, "-cp", "-classpath", "--classpath") {
>> People are also still familiar with -version !
>> -Ulf
> I guess I am against inconsistent use of the GNU option pattern. It is 
> bad enough that we have to have different tools with different 
> standards, but if we're going to a more GNU like pattern, we should 
> have a more consistent policy about how we mix these styles. 
> Inconsistently adopting GNU style is in my opinion worse than not 
> adopting it.

Having a second thought, it's a new tool and we need to learn its 
options anyway.  I'd opt for consistency than familiarity and not to 
have mixture of Unix-style and GNU-style options.  If no objection, I 
will change it to --classpath for the initial push.


More information about the compiler-dev mailing list