Merge GNU Classpath 0.99 into libjava.

From-SVN: r185741
This commit is contained in:
Andrew John Hughes 2012-03-23 15:19:26 +00:00
parent 21669dfe20
commit 0563022a20
516 changed files with 64503 additions and 61116 deletions

View file

@ -1,6 +1,7 @@
/* VMClassLoader.java -- Reference implementation of native interface
required by ClassLoader
Copyright (C) 1998, 2001, 2002, 2004, 2005, 2006 Free Software Foundation
Copyright (C) 1998, 2001, 2002, 2004, 2005, 2006, 2010
Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -71,7 +72,6 @@ import java.util.zip.ZipFile;
final class VMClassLoader
{
/** packages loaded by the bootstrap class loader */
static final HashMap definedPackages = new HashMap();
@ -116,6 +116,7 @@ final class VMClassLoader
}
}
private VMClassLoader() {} // Prohibits instantiation.
/**
* Helper to define a class using a string of bytes. This assumes that
@ -172,6 +173,7 @@ final class VMClassLoader
return (URL)e.nextElement();
return null;
}
/**
* Helper to get a list of resources from the bootstrap class loader.
*
@ -239,7 +241,6 @@ final class VMClassLoader
return v.elements();
}
/**
* Returns a String[] of native package names. The default
* implementation tries to load a list of package from
@ -284,7 +285,6 @@ final class VMClassLoader
return new String[0];
}
/**
* Helper to get a package from the bootstrap class loader.
*