}
public Object getDefaultValue(Class hint) {
if (hint == null || hint == ScriptRuntime.StringClass) {
StringBuffer buffer = new StringBuffer();
ReadOnlyList list = (ReadOnlyList) javaObject;
for (int i = 0, l = list.size(); i < l; i++) {
if (i > 0)
buffer.append(",");
Object entry = list.get(i);
if (entry != null) {
Scriptable obj = Context.toObject(entry, this);
buffer.append(obj.getDefaultValue(hint));
} else {
buffer.append("null");