Review for a fix in the launcher setting the bootclasspath for legacy mode

Mandy Chung Mandy.Chung at Sun.COM
Mon Feb 8 11:51:16 PST 2010


Alan Bateman wrote:
> Mandy Chung wrote:
>> I fixed a bug in the launcher that allocates the buffer of an 
>> incorrect length for holding the bootclasspath VM option and also  
>> clean up the wildcardModuleDirList function to use stack variables 
>> (vs using wildcardConcat whose return value should be freed).
>>
>> Webrev:
>>    http://cr.openjdk.java.net/~mchung/jigsaw/launcher-fix/
>>
>> Thanks
>> Mandy
> This looks okay to me. 

Thanks for the review.
> Minor comment is that in SetModulesBootClassPath you could store the 
> length of vmoption to avoid calling JLI_Strlen twice..

Yes I can.

> Also should basename be declared const in wldcardModuleDirList?
>
I'll change it.  That was carried from wildcardFileList. 

Mandy 




More information about the jigsaw-dev mailing list