Index: src/org/jruby/RubyGlobal.java
===================================================================
RCS file: /cvsroot/jruby/jruby/src/org/jruby/RubyGlobal.java,v
retrieving revision 1.13.2.1
diff -u -r1.13.2.1 RubyGlobal.java
--- src/org/jruby/RubyGlobal.java	2 Jan 2006 07:07:09 -0000	1.13.2.1
+++ src/org/jruby/RubyGlobal.java	22 Jan 2006 05:46:21 -0000
@@ -32,6 +32,7 @@
  ***** END LICENSE BLOCK *****/
 package org.jruby;
 
+import java.util.ArrayList;
 import java.util.HashMap;
 
 import org.jruby.runtime.Constants;
@@ -259,7 +260,7 @@
          * @see org.jruby.runtime.GlobalVariable#get()
          */
         public IRubyObject get() {
-            return runtime.newArray(runtime.getLoadService().getLoadedFeatures());
+            return runtime.newArray(new ArrayList(runtime.getLoadService().getLoadedFeatures()));
         }
     }
 }
Index: src/org/jruby/runtime/load/LoadService.java
===================================================================
RCS file: /cvsroot/jruby/jruby/src/org/jruby/runtime/load/LoadService.java,v
retrieving revision 1.6.2.3
diff -u -r1.6.2.3 LoadService.java
--- src/org/jruby/runtime/load/LoadService.java	6 Jan 2006 00:44:20 -0000	1.6.2.3
+++ src/org/jruby/runtime/load/LoadService.java	22 Jan 2006 05:46:22 -0000
@@ -38,9 +38,11 @@
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.HashMap;
+import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
+import java.util.Set;
 import java.util.jar.JarFile;
 
 import org.jruby.IRuby;
@@ -60,7 +62,7 @@
 	private static final String[] suffixes = { JRUBY_BUILTIN_SUFFIX, ".ast.ser", ".rb.ast.ser", ".rb",  "", ".jar" };
 
     private final List loadPath = new ArrayList();
-    private final List loadedFeatures = new ArrayList();
+    private final Set loadedFeatures = new HashSet();
     private final Map builtinLibraries = new HashMap();
 
     private final Map autoloadMap = new HashMap();
@@ -164,7 +166,7 @@
         return loadPath;
     }
 
-    public List getLoadedFeatures() {
+    public Set getLoadedFeatures() {
         return loadedFeatures;
     }
 
