admin@glassfish.java.net

Re: defect in collection handling code

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 22 Apr 2008 15:59:24 -0700

just don't do anything for such case, there is -at least- no harm in
adding several jvm-options of the same value.

Lloyd L Chambers wrote:
> Jerome,
>
> Maybe, maybe not.
>
> It's hard for me to keep having to deal with details like this (not
> the only one) while trying to make AMX work for the GUI.
>
> Lloyd
>
> On Apr 22, 2008, at 3:41 PM, Jerome Dochez wrote:
>
>> Lloyd L Chambers wrote:
>>> Jerome,
>>>
>>> The Config code allows the following to occur:
>>>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>> <jvm-options>-Dfoo=bar</jvm-options>
>>>
>>> I can't see any reason to allow this for <jvm-options>, though maybe
>>> there is a reason for other cases.
>>>
>>> Thoughts? Should support for Set<String> be added to indicate
>>> uniqueness?
>>>
>>> What should AMX do about this?
>> let's revisit this after TP-2, I don't think we need to solve it now.
>>
>> jerome
>>
>>>
>>> Lloyd
>>>
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>>
>>>
>>>
>>>
>>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>