|
From: <ls...@us...> - 2007-06-25 09:41:36
|
Revision: 3308
http://jnode.svn.sourceforge.net/jnode/?rev=3308&view=rev
Author: lsantha
Date: 2007-06-25 02:40:29 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/vm/java/util/
trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java
Added: trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java
===================================================================
--- trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java (rev 0)
+++ trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java 2007-06-25 09:40:29 UTC (rev 3308)
@@ -0,0 +1,20 @@
+/*
+ * $Id$
+ */
+package java.util;
+
+import org.jnode.vm.VmSystem;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+class NativeResourceBundle {
+ static Class[] getClassContext(){
+ //skip the call to VmSystem.getRealClassContext()
+ Class[] context = VmSystem.getRealClassContext();
+ Class[] ret = new Class[context.length - 1];
+ System.arraycopy(context, 1, ret, 0, ret.length);
+
+ return context;
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|