admin@glassfish.java.net

defect in collection handling code

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 22 Apr 2008 15:30:45 -0700

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?

Lloyd

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc