[cp-patches] RFC: move from gnu.java.security.action.GetPropertyAction to sun.security.action.GetPropertyAction

Andrew John Hughes gnu_andrew at member.fsf.org
Wed Jun 4 09:33:43 UTC 2008


2008/6/4 Robert Schuster <theBohemian at gmx.net>:
> Hi,
> the attached patch refactors all of Classpath' code to use
> sun.security.action.GetPropertyAction instead of
> gnu.java.security.action.GetPropertyAction.
>
> Additionally the class in question is moved to its new package.
>
> While I don't like the usage of a non-standard API as much as you I also
> think that with OpenJDK being available under the GPL it is equally bad
> to have
>
> gnu.java.security.action.GetPropertyAction
>
> or
>
> sun.security.action.GetPropertyAction
>
> But what I think what is even worse is having both. :)
>
> 2008-06-04  Robert Schuster  <robertschuster at fsfe.org>
>
>  * gnu/java/security/action/GetPropertyAction.java: Removed.
>  * sun/security/action/GetPropertyAction.java: Copied content
>  from gnu/java/security/action/GetPropertyAction.java.
>  * gnu/classpath/debug/Simple1LineFormatter.java: Changed import
>  of gnu.java.security.action.GetPropertyAction to
>  sun.security.action.GetPropertyAction
>  * gnu/classpath/debug/SystemLogger.java: Dito.
>  * gnu/java/security/PolicyFile.java: Dito.
>  * gnu/java/security/key/dss/DSSKey.java: Dito.
>  * gnu/java/security/key/dss/DSSPrivateKey.java: Dito.
>  * gnu/java/security/key/dss/DSSPublicKey.java: Dito.
>  * gnu/java/security/key/rsa/GnuRSAKey.java: Dito.
>  * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Dito.
>  * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Dito.
>  * gnu/javax/crypto/key/dh/GnuDHKey.java: Dito.
>  * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Dito.
>  * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Dito.
>  * gnu/javax/crypto/sasl/plain/PasswordFile.java: Dito.
>  * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java: Dito.
>  * gnu/xml/aelfred2/XmlParser.java: Dito.
>
> Regards
> Robert
>

Can we also document each sun.* specific change somewhere? I still
regard these as bugs, but not against either
GNU Classpath or OpenJDK -- against the specification itself.  If code
is being relied upon by both class library and external
code, it should be part of the public API.

Have you checked for or filed a bug with Sun?
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8



More information about the Classpath-patches mailing list