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

2008-06-04 Thread Andrew Haley
Robert Schuster wrote: Hi, Andrew John Hughes schrieb: 2008-06-03 Robert Schuster [EMAIL PROTECTED] * 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

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

2008-06-04 Thread Robert Schuster
Hi. Andrew Haley schrieb: What is the public equivalent for GetPropertyAction? There isn't any need, is there? That depends. :) It's just a wrapper for (String) AccessController.doPrivileged(new PrivilegedAction() { public java.lang.Object run() {

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

2008-06-04 Thread Andrew Haley
Robert Schuster wrote: Hi. Andrew Haley schrieb: What is the public equivalent for GetPropertyAction? There isn't any need, is there? That depends. :) It's just a wrapper for (String) AccessController.doPrivileged(new PrivilegedAction() { public java.lang.Object

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

2008-06-03 Thread Andrew John Hughes
2008/6/3 Robert Schuster [EMAIL PROTECTED]: Hi, the attached does something very dumb: It makes a copy of an existing class. Still I need it because otherwise a resulting binary is either not runnable with classpath or with openjdk's class library. A better patch would possibly refactor all

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

2008-06-02 Thread David Daney
Robert Schuster wrote: Hi, the attached does something very dumb: It makes a copy of an existing class. Still I need it because otherwise a resulting binary is either not runnable with classpath or with openjdk's class library. A better patch would possibly refactor all classpath code to use

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

2008-06-02 Thread Robert Schuster
Hi, the attached does something very dumb: It makes a copy of an existing class. Still I need it because otherwise a resulting binary is either not runnable with classpath or with openjdk's class library. A better patch would possibly refactor all classpath code to use the sun/security variant