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
@@ -1,5 +1,5 @@
/* VMSystem.java -- helper for java.lang.system
Copyright (C) 1998, 2002, 2004 Free Software Foundation
Copyright (C) 1998, 2002, 2004, 2010 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -56,6 +56,9 @@ import java.io.PrintStream;
*/
final class VMSystem
{
private VMSystem() {} // Prohibits instantiation.
/**
* Copy one array onto another from <code>src[srcStart]</code> ...
* <code>src[srcStart+len-1]</code> to <code>dest[destStart]</code> ...
@@ -94,15 +97,6 @@ final class VMSystem
*/
static native int identityHashCode(Object o);
/**
* Convert a library name to its platform-specific variant.
*
* @param libname the library name, as used in <code>loadLibrary</code>
* @return the platform-specific mangling of the name
* @XXX Add this method
static native String mapLibraryName(String libname);
*/
/**
* Set {@link System#in} to a new InputStream.
*
@@ -135,10 +129,7 @@ final class VMSystem
* @return the current time
* @see java.util.Date
*/
public static long currentTimeMillis()
{
return nanoTime() / 1000000L;
}
static native long currentTimeMillis();
/**
* <p>
@@ -165,7 +156,7 @@ final class VMSystem
* @return the time of a system timer in nanoseconds.
* @since 1.5
*/
public static native long nanoTime();
static native long nanoTime();
/**
* Returns a list of 'name=value' pairs representing the current environment