From ffafe01a8749fcce80b960cd3a2ea73764dc6cc4 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Thu, 16 Dec 2010 19:48:07 +0000 Subject: [PATCH] PR libgcj/46774: Create dynamic ProtectionDomain instances which check the system policy. 2010-12-13 Andrew John Hughes PR libgcj/46774 * libjava/java/security/VMAccessController.java: (DEFAULT_CONTEXT): Create ProtectionDomain with four argument constructor (arguments are the same as those implied by the two argument constructor). (getContext()): Create ProtectionDomain instances with four argument constructor using a null Principal array (as before) but including the classloader, which was always null before. From-SVN: r167952 --- libjava/ChangeLog | 12 ++++++++++++ .../java/security/VMAccessController.class | Bin 4797 -> 4908 bytes libjava/java/security/VMAccessController.java | 16 +++++++++------- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 16cfc79099c..c53120d3086 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,15 @@ +2010-12-13 Andrew John Hughes + + PR libgcj/46774 + * libjava/java/security/VMAccessController.java: + (DEFAULT_CONTEXT): Create ProtectionDomain with + four argument constructor (arguments are the same + as those implied by the two argument constructor). + (getContext()): Create ProtectionDomain instances + with four argument constructor using a null Principal + array (as before) but including the classloader, which + was always null before. + 2010-12-06 Dave Korn PR target/40125 diff --git a/libjava/classpath/lib/java/security/VMAccessController.class b/libjava/classpath/lib/java/security/VMAccessController.class index d05cd9c84563057d1913a73bbf76e0f79f1b626d..9a129803916b867882348cf74e336fe473881338 100644 GIT binary patch delta 756 zcmZ{iUrfzm7{@=)sm}SGU!`QR!>lutNwrQT?9hhB1va`!(ySe)R;SKRsiwK9*>Y#m zelFxj5&6@M%84RvSQ9c6t0AF3{)A-a4)3Wuo4tGA=l`?s_j%siv8^lg{@-0aKr%De z^ebX2UupE378`@IeBq8_*Fjg3*X1ir%J8}>Dt45*@(aohSLgzZ$LIExxxDSaB-0$D z)5sYMO+v&!6=9sE**KyluF*IzSlvYh?h=o$(5`Voncmrk_H?^WF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