[cp-patches] RFC: add a copy of gnu/java/security/action/GetPropertyAction into sun/security/action

Andrew Haley aph at redhat.com
Wed Jun 4 08:40:55 UTC 2008


Robert Schuster wrote:
> Hi,
> 
> Andrew John Hughes schrieb:
>>> 2008-06-03  Robert Schuster  <robertschuster at fsfe.org>
>>>
>>>  * sun/security/action/GetPropertyAction.java: Functional copy
>>>  of gnu/java/security/action/GetPropertyAction.java.
>>>
>>> Regards
>>> Robert
>>>
>>
>> Er... fix the binary which is clearly broken by relying on internal
>> unspecified classes.
> What is the public equivalent for GetPropertyAction?

There isn't any need, is there?  It's just a wrapper for

(String) AccessController.doPrivileged(new PrivilegedAction() {
			public java.lang.Object run() {
			return System.getProperty(prop); }
});

Andrew.




More information about the Classpath-patches mailing list