Bryce McKinlay
28f7d9d05a
decl.c (init_decl_processing): Add new class "protectionDomain" field.
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
2001-04-25 16:45:15 +01:00
..
2000-12-11 03:47:48 +00:00
2001-03-25 23:05:32 -08:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-09-08 19:37:09 +00:00
2001-02-09 02:56:38 +00:00
2000-12-15 05:53:39 +00:00
2001-04-25 16:45:15 +01:00
2001-04-25 16:45:15 +01:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-04-25 16:45:15 +01:00
2000-10-27 10:33:46 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-02-09 22:13:33 +00:00
2000-12-02 00:28:44 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:41:47 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-04-07 14:42:40 +00:00
1999-06-24 20:06:09 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-03-12 07:47:13 +00:00
2000-09-05 12:05:59 +01:00
2001-02-09 22:13:33 +00:00
2000-06-23 19:53:33 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-02-19 03:43:12 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
2000-03-07 19:55:28 +00:00
2001-02-19 03:43:12 +00:00
2000-11-17 04:51:25 +00:00
1999-04-07 14:42:40 +00:00
2000-12-23 23:38:51 +00:00
2000-03-07 19:55:28 +00:00
2001-04-25 16:45:15 +01:00
2001-04-25 16:45:15 +01:00
2001-03-25 23:05:32 -08:00
2000-03-07 19:55:28 +00:00
2001-02-09 22:13:33 +00:00
2000-12-02 00:28:44 +00:00
2001-03-25 23:05:32 -08:00
2001-03-25 23:05:32 -08:00
2001-03-25 23:05:32 -08:00
2001-04-10 15:46:11 -07:00
2001-04-20 09:43:52 +00:00
2001-03-25 23:05:32 -08:00
2001-03-14 15:49:06 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-09-08 19:37:09 +00:00
2000-03-07 19:55:28 +00:00
2001-01-17 10:22:33 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-04-25 16:45:15 +01:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2001-03-12 07:40:17 +00:00
2000-03-07 19:55:28 +00:00
2000-12-15 06:13:35 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
1999-06-24 20:06:09 +00:00
2000-03-07 19:55:28 +00:00
2000-05-19 17:55:34 +00:00
2001-01-25 19:07:18 +00:00
1999-06-24 20:06:09 +00:00
2001-02-09 02:56:38 +00:00
2000-03-07 19:55:28 +00:00
2001-04-01 14:54:10 -07:00
2001-01-07 20:01:46 +00:00
2000-03-07 19:55:28 +00:00
1999-04-07 14:42:40 +00:00
2001-03-12 07:40:17 +00:00
2001-01-05 00:31:45 +00:00
2000-09-08 19:37:09 +00:00
2001-03-12 07:40:17 +00:00
2001-02-23 19:52:49 -08:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
2000-03-07 19:55:28 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00
1999-04-07 14:42:40 +00:00