mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 22:30:59 +08:00
28f7d9d05a
gcc/java: 2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * decl.c (init_decl_processing): Add new class "protectionDomain" field. * class.c (make_class_data): Set initial value for "protectionDomain". libjava: 2001-04-25 Bryce McKinlay <bryce@albatross.co.nz> java.security merge and ClassLoader compliance fixes. * java/lang/Class.h (Class): Include ProtectionDomain.h. New protectionDomain field. (forName): Add initialize parameter. Fixes declaration to comply with JDK spec. * java/lang/natClass.cc (forName): Correct declaration of the three-arg variant. Honour "initialize" flag. (getProtectionDomain0): New method. * java/lang/Class.java: Fix forName() declaration. (getPackage): New method based on Classpath implementation. (getProtectionDomain0): New native method decl. (getProtectionDomain): New method. * java/lang/ClassLoader.java (getParent): Now final. (definedPackages): New field. (getPackage): New. (defineClass): New variant with protectionDomain argument. (definePackage): New. (getPackages): New. (findSystemClass): Now final. (getSystemResourceAsStream): Remove redundant "final" modifier. (getSystemResource): Remove redundant "final" modifier. (getResources): Now final. (protectionDomainPermission): New static field. (unknownProtectionDomain): Ditto. (defaultProtectionDomain): Ditto. (getSystemClassLoader): Now non-native. * java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct arguments for Class.forName(). * java/lang/Package.java: New file. * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed. (instance): Static initialize singleton. (findClass): Override this, not findSystemClass. * java/lang/natClassLoader.cc (defineClass0): Set class's protectionDomain field as specified. (getSystemClassLoader): Removed. (findClass): Renamed from findSystemClass. Call the interpreter via URLClassLoader.findClass if loading class via dlopen fails. * java/security/*.java: java.security import/merge with Classpath. * java/security/acl/*.java: Likewise. * java/security/interfaces/*.java: Likewise. * java/security/spec/*.java: Likewise. * java/net/NetPermission.java: Likewise. * java/net/SocketPermission.java: Likewise. * gnu/java/security/provider/DefaultPolicy.java: Likewise. * Makefile.am: Add new classes. * Makefile.in: Rebuilt. * gcj/javaprims.h: CNI namespace rebuild. From-SVN: r41543 |
||
---|---|---|
.. | ||
ref | ||
reflect | ||
AbstractMethodError.java | ||
ArithmeticException.java | ||
ArrayIndexOutOfBoundsException.java | ||
ArrayStoreException.java | ||
Boolean.java | ||
Byte.java | ||
Character.java | ||
Class.h | ||
Class.java | ||
ClassCastException.java | ||
ClassCircularityError.java | ||
ClassFormatError.java | ||
ClassLoader.java | ||
ClassNotFoundException.java | ||
Cloneable.java | ||
CloneNotSupportedException.java | ||
Comparable.java | ||
Compiler.java | ||
Double.java | ||
dtoa.c | ||
e_acos.c | ||
e_asin.c | ||
e_atan2.c | ||
e_exp.c | ||
e_fmod.c | ||
e_log.c | ||
e_pow.c | ||
e_rem_pio2.c | ||
e_remainder.c | ||
e_scalb.c | ||
e_sqrt.c | ||
EcosProcess.java | ||
Error.java | ||
Exception.java | ||
ExceptionInInitializerError.java | ||
fdlibm.h | ||
Float.java | ||
ieeefp.h | ||
IllegalAccessError.java | ||
IllegalAccessException.java | ||
IllegalArgumentException.java | ||
IllegalMonitorStateException.java | ||
IllegalStateException.java | ||
IllegalThreadStateException.java | ||
IncompatibleClassChangeError.java | ||
IndexOutOfBoundsException.java | ||
InstantiationError.java | ||
InstantiationException.java | ||
Integer.java | ||
InternalError.java | ||
InterruptedException.java | ||
k_cos.c | ||
k_rem_pio2.c | ||
k_sin.c | ||
k_tan.c | ||
LinkageError.java | ||
Long.java | ||
Math.java | ||
mprec.c | ||
mprec.h | ||
natCharacter.cc | ||
natClass.cc | ||
natClassLoader.cc | ||
natDouble.cc | ||
natEcosProcess.cc | ||
natFloat.cc | ||
natMath.cc | ||
natObject.cc | ||
natPosixProcess.cc | ||
natRuntime.cc | ||
natString.cc | ||
natSystem.cc | ||
natThread.cc | ||
natThrowable.cc | ||
NegativeArraySizeException.java | ||
NoClassDefFoundError.java | ||
NoSuchFieldError.java | ||
NoSuchFieldException.java | ||
NoSuchMethodError.java | ||
NoSuchMethodException.java | ||
NullPointerException.java | ||
Number.java | ||
NumberFormatException.java | ||
Object.h | ||
Object.java | ||
OutOfMemoryError.java | ||
Package.java | ||
PosixProcess.java | ||
Process.java | ||
Runnable.java | ||
Runtime.java | ||
RuntimeException.java | ||
RuntimePermission.java | ||
s_atan.c | ||
s_ceil.c | ||
s_copysign.c | ||
s_cos.c | ||
s_fabs.c | ||
s_floor.c | ||
s_rint.c | ||
s_scalbn.c | ||
s_sin.c | ||
s_tan.c | ||
SecurityException.java | ||
SecurityManager.java | ||
sf_fabs.c | ||
sf_rint.c | ||
Short.java | ||
StackOverflowError.java | ||
String.java | ||
StringBuffer.java | ||
StringIndexOutOfBoundsException.java | ||
strtod.c | ||
System.java | ||
Thread.java | ||
ThreadDeath.java | ||
ThreadGroup.java | ||
Throwable.java | ||
UnknownError.java | ||
UnsatisfiedLinkError.java | ||
UnsupportedOperationException.java | ||
VerifyError.java | ||
VirtualMachineError.java | ||
Void.java | ||
w_acos.c | ||
w_asin.c | ||
w_atan2.c | ||
w_exp.c | ||
w_fmod.c | ||
w_log.c | ||
w_pow.c | ||
w_remainder.c | ||
w_sqrt.c |