39 |
|
|
40 |
package java.io; |
package java.io; |
41 |
|
|
42 |
|
import gnu.classpath.Configuration; |
43 |
import gnu.classpath.VMStackWalker; |
import gnu.classpath.VMStackWalker; |
44 |
import java.lang.reflect.Constructor; |
import java.lang.reflect.Constructor; |
45 |
import java.security.AccessController; |
import java.security.AccessController; |
47 |
|
|
48 |
final class VMObjectInputStream |
final class VMObjectInputStream |
49 |
{ |
{ |
50 |
private static Class oisClass = ObjectInputStream.class; |
static |
51 |
private static Class vmoisClass = VMObjectInputStream.class; |
{ |
52 |
|
if (Configuration.INIT_LOAD_LIBRARY) |
53 |
|
{ |
54 |
|
System.loadLibrary("javaio"); |
55 |
|
} |
56 |
|
} |
57 |
|
|
58 |
// PrivilegedAction needed for Class.getClassLoader() |
// PrivilegedAction needed for Class.getClassLoader() |
59 |
private static PrivilegedAction loaderAction = new PrivilegedAction() |
private static PrivilegedAction loaderAction = new PrivilegedAction() |