classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: PrivilegedAction helper classes


From: Mark Wielaard
Subject: Re: [cp-patches] Patch: PrivilegedAction helper classes
Date: Sun, 25 Jul 2004 13:58:08 +0200

On Sat, 2004-07-24 at 00:18, Bryce McKinlay wrote:
> 2004-07-23  Bryce McKinlay  <address@hidden>
> 
>       * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
>       for privilaged getProperty calls.
>       * java/io/ObjectOutputStream.java (getField): No longer static. Use
>       SetAccessibleAction instead of anonymous class for doPrivilaged call.
>       (getMethod): Likewise.
>       (setAccessible): New field. PrivilagedAction object to use when
>       calling setAccessible.
>       * java/io/ObjectStreamClass.java (calculateOffsets): Use
>       SetAccessibleAction instead of anonymous class for diPrivilaged call.
>       (setFields): Likewise.
>       (getClassUID): Likewise.
>       (findMethod): Likewise.
>       * gnu/java/security/action/GetPropertyAction.java: New class.
>       * gnu/java/security/action/SetAccessibleAction.java: New class. 

This broke the GNU Classpath build.
When you add a new Makefile.am you also need to add it to configure.ac.

Committed the following patch to fix it:

2004-07-25  Mark Wielaard  <address@hidden>

        * configure.ac (AC_CONFIG_FILES): gnu/java/security/action/Makefile
        added.

Michael Koch has a patch to make adding new java source files easier in
the future.

Cheers,

Mark

--- configure.ac        22 Jul 2004 19:45:38 -0000      1.39
+++ configure.ac        25 Jul 2004 11:57:03 -0000
@@ -332,6 +332,7 @@
 gnu/java/rmi/rmic/Makefile
 gnu/java/rmi/server/Makefile
 gnu/java/security/Makefile
+gnu/java/security/action/Makefile
 gnu/java/security/der/Makefile
 gnu/java/security/provider/Makefile
 gnu/java/security/util/Makefile

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]